JavaScript Concepts - The Type System
Jump to navigation
Jump to search
Internal
Conversion of a String to Int
var a = '1';
var b = parseInt(a) + 1;
console.log(b)
2