Format a string in JavaScript
for( var i = 0 ; i < 5 ; i++) { console.log("This is printing ${i} time") } Is there any syntax error? because the output of this program is showing This is printing ${i} time This is printing ${i}…
for( var i = 0 ; i < 5 ; i++) { console.log("This is printing ${i} time") } Is there any syntax error? because the output of this program is showing This is printing ${i} time This is printing ${i}…