Search
 
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
Name
9+9 =