I believe there is a typo in the join() method example:
const exampleArr = [“This”, “is”, “a”, “sentence”];
const sentence = exampleArray.join(" "); // Separator takes a space character
console.log(sentence); // Output: “This is a sentence”
I expect:
const sentence = exampleArray.join(" “);
should actually be:
const sentence = exampleArr.join(” ");
I looked into becoming a volunteer to fix it without needing to post here, but got overwhelmed at the setup as I am still learning(on step 18 today lol).
I’m not 100% sure that I’m right, but I’m pretty sure.