Ravi Patel

Ravi Patel

  • 274
  • 6.8k
  • 1.4m

javascript

Apr 28 2016 2:11 AM
Hi All,
 
 
var a="40" +10;
var b= "40"- 10;
alert(a); =>4010
alert(b); =>30
why?  can any one explain
 

Answers (3)