DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript number to string
const toNumber = str => +str; // Example toNumber('42'); // 42
Source by kitt.lewagon.com #
PREVIOUS
NEXT
Tagged:
#javascript
#number
#string
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit