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.

Logging variables

Now let's log variables:
var scientist = 'Ken Thompson';
console.log(scientist);
The variable scientist is logged. The console outputs 'Ken Thompson'.

Exercise

Write a function log, that takes a parameter and logs this parameter. log('Ken Thompson') should log 'Ken Thompson'.
var log = function(value) {
  ...
};
var log = function(value) {
  console.log(value);
};