Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Js is transformed into shaping
Js is transformed into shaping
The basic data types in JS are integer, floating point, character and Boolean.

To convert a string into an integer, you can only use parseInt(str) to parse the string into an integer, which is decimal by default, octal if it starts with 0, and hexadecimal if it starts with 0x. Or parseInt

(str, radix) parses a string into integers according to the specified radix, that is, translates str into decimal as radix.