0

Why the following syntax does not provide any output?

let name = 'David'; let msg = `Welcome ${name}!`; console.log(msg);

31st Mar 2020, 1:57 PM
Santosh Pattnaik
Santosh Pattnaik - avatar
4 ответов
+ 3
The output is in console https://code.sololearn.com/WQXuddTRHZUZ/?ref=app For browser, open console in Developer Tools.
31st Mar 2020, 2:02 PM
Gordon
Gordon - avatar
+ 2
Si funciona
31st Mar 2020, 2:00 PM
Cmurio
Cmurio - avatar
+ 2
It's working. What output you were expecting?
31st Mar 2020, 2:02 PM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
0
It has an output printed to the console. "console.log". if you want to see it on the web, change to "document.write"
8th Apr 2020, 11:55 PM
Israel Edoghama
Israel Edoghama - avatar