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.
Set array elements
Here an empty array is filled successively with the listed values.
var languages = ; languages = 'C'; languages = 'C++'; languages = 'Java';
setFirstElementthat takes an array and an arbitrary variable. The variable should be inserted as the first element in the array. The array should be returned.
setFirstElement([1, 2], 3)should return