0
Why the following syntax does not provide any output?
let name = 'David'; let msg = `Welcome ${name}!`; console.log(msg);
4 Answers
+ 3
The output is in console
https://code.sololearn.com/WQXuddTRHZUZ/?ref=app
For browser, open console in Developer Tools.
+ 2
Si funciona
+ 2
It's working. What output you were expecting?
0
It has an output printed to the console. "console.log". if you want to see it on the web, change to "document.write"