0

How to print a " :" on the console with variable name in javascript

Javascript console print

24th Jan 2021, 8:23 AM
Zeeshan
4 Respostas
+ 6
Zeeshan What you exactly want? Do you want this console.log("a : ")
24th Jan 2021, 8:26 AM
A͢J
A͢J - avatar
+ 2
console.log("a :" + a) // replace with your variable and variable name // Right?
24th Jan 2021, 8:28 AM
#0009e7 [get]
#0009e7 [get] - avatar
+ 2
Zeeshan use console log("David") u need to write in double quotes
24th Jan 2021, 8:37 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
I mean. ( David: )
24th Jan 2021, 8:29 AM
Zeeshan