// In Javascript 7 Primitive Data type
// string,number,bigint,boolean,undefined,symbol,null
let a = null;
let b = 345;
let c = true; // can be also false
let d = BigInt("567")
let e = "Sage"
let f = Symbol("I am a nice symbol")
let g = undefined
console.log(a, b, c, d, e, f, g)
// console.log(typeof d)
// Object in Javascript // In JS its kind of dictionary // object are non primitive data types
// const {
// "Sage": ture,
// "Avinash": False,
// "Sunny": 00,
// "Rohan": undefined,
// }
// console.log(item["Sunny"])
Top comments (0)