Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js data types

let age = 16;                           // number 
let name = "John";                      // string
let name = {first:"Jane", last:"Duo"};  // object
let truth = false;                      // boolean
let sheets = ["HTML","CSS","JS"];       // array
let a; typeof a;                        // undefined
let a = null;                           // null
Source by www.interviewbit.com #
 
PREVIOUS NEXT
Tagged: #js #data #types
ADD COMMENT
Topic
Name
9+2 =