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.
joinyou join all elements of an array into a string:
Without an argument
var words = ['Sex', 'Drugs', 'Rock', 'Roll']; var s1 = words.join(); var s2 = words.join(' & '); var s3 = words.join(' and ');
joinjoins the elements separated by commas.
s1has the value
'Sex,Drugs,Rock,Roll'. Otherwise, the passed argument specifies the separator.
s2has the value
'Sex & Drugs & Rock & Roll'and
s3has the value
'Sex and Drugs and Rock and Roll'.
listthat joins words in an array into a list.
list(['Huey', 'Dewey', 'Louie'])should return
'Huey, Dewey and Louie'. The passed array contains at least two words.