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.
An elementary statement is the declaration and initialization of a variable. A variable is a container for a value. The statement
declares a variable with the name
var city = 'Porbandar';
cityand initializes it with the value
'Porbandar'. The variable is declared with the keyword
Cityare two different variables.
firstnameand initialize it with the value
var firstname = ...
var firstname = 'Lata';