I am beginner of JavaScript programming, when I check for parseInt() i.e., which converts string into an Integer Number, I am getting some different outputs.
var temp = 030;
document.writeln(" temp value after parseInt is =" + parseInt(temp));
output : temp value after parseInt is =24
I did n't find the reason why it is showing 24. Could you please help me in this. Thanks