Is there any way to convert a variable from string to number?
For example, I have
var str = "1";
Can I change it to
var str = 1;
Question&Answers:osIs there any way to convert a variable from string to number?
For example, I have
var str = "1";
Can I change it to
var str = 1;
Question&Answers:os