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.
Get array elements
var languages = ['C', 'C++', 'Java']; var c = languages; var cPlusPlus = languages; var java = languages;
getFirstElementthat takes an array and returns the first element of the array.
getFirstElement([1, 2])should return