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.
A variable can be assigned the value of another variable.
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.
Which value does
xhave after execution of the following code?
let x = 'Laurel'; let y = 'Hardy'; let z = y; y = x; x = z;