how to convert to a number type in javascript code example Example: javascript to number parseInt("1")