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.
Silent Teacher
A wonderful learn to code app is
SILENT TEACHER. It's a minimalist game where beginners can discover
what coding is all about and the key concepts behind code, with no explanations given. Through several series of
questions, the player is led to guess the rules of this language and learn from his own mistakes.
Since SILENT TEACHER uses JavaScript, it is an excellent supplement to JS Hero. More about the app can be found
at Toxicode.
Here the concatenation of strings shall be practiced again.
Here the concatenation of strings shall be practiced again.
Exercise
Which value does
x
have after execution of the following code?
function double(name) {
return name + ' and ' + name;
}
let x = double('Roy');
+ Solution
'Roy and Roy'