0
JavaScript functions?/
One JavaScript question is giving me the wrong output even though I copied the solutIon exactly? Can anyone tell me whatâs wrong with this? function welcome(){ let name = readLine(); //rediseña la funciĂłn console.log('Welcome, ${name}'); } //call the function welcome(); Output comes out as Welcome, ${name}
1 Answer
+ 2
Max Streather, replace the single quotes with backticks (`Welcome, ${name}`).