Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

What are JavaScript Data Types?

// What are JavaScript Data Types?
let name = "Chetan";                           // string
let age = 30;                                  // number 
let fullName = {first:"Chetan", last:"Nada"};  // object
let truth = false;                             // boolean
let language = ["HTML","CSS","JS"];            // array
let x; typeof x;                               // undefined
let val = null;                                // value null
Source by www.tutorialrepublic.com #
 
PREVIOUS NEXT
Tagged: #What #JavaScript #Data
ADD COMMENT
Topic
Name
4+5 =