Guest practice: this set is not saved and does not count.
What does this log?
let name = "cat"; name[0] = "b"; console.log(name);
A backtick string can span several lines without using \n.
\n
let s = "cat and cat"; console.log(s.replace("cat", "dog"));
console.log("5".padStart(3, "0"));
let email = "sam@site.com"; console.log(email.slice(email.indexOf("@") + 1));
Click a question to go back and check it. After you submit, you will see the right answer and an explanation for every question. As a guest, nothing is saved.
Check my answers