Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript strings vs numbers

let message = 'hello'; //string
let sum = 5;           //number
let x = -15.25;        //number
let year = "2021";     //string
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #javascript #strings #numbers
ADD COMMENT
Topic
Name
7+8 =