+ 1
What is string in JavaScript ?
I know the brief about it but can't understand . Please describe widely !
2 Answers
+ 2
var a="2";
console.log(a+2);
var b=2;
console.log(b+2);
The first will print 22.
The second will print 4.
I know the brief about it but can't understand . Please describe widely !