parsInt en javascript code example
Example 1: intval js
parseInt(value);
let string = "321"
console.log(string); // "321" <= string
let number = parseInt(string);
console.log(number) // 321 <=int
Example 2: js int
var myInt = 69420
1+1//int
1+"1"//string