The browser storage localStorage is not available. Either your browser does not support it or you have disabled it or the maximum memory size is exceeded. Without localStorage your solutions will not be stored.
In the second line,
let name1 = 'Olga'; let name2 = name1; name1 = 'Clara';
name2is assigned the value of
name1. The variable
name2gets the value
'Olga'. This value is retained by
name2, even if
name1receives a new value afterwards.
xhave after execution of the following code?
let x = 'Laurel'; let y = 'Hardy'; let z = y; y = x; x = z;