javascript from Number code example Example 1: javascript to number parseInt("1") Example 2: js int var myInt = 69420 1+1//int 1+"1"//string