Skip to content

Commit 68c0daa

Browse files
datatypes
1 parent 3fb6004 commit 68c0daa

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

01_basics/02_dataTypes.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"use strict" // treat all JS code as newer version
2+
3+
// Data Types
4+
let name = "Deepak"
5+
let age = 15
6+
let isLoggedin = false
7+
8+
// number = 2 to power 53
9+
// bigint
10+
// string => ""
11+
// boolean => true/false
12+
// null => standalone value
13+
// undefined => varible define but value not assign
14+
// symbol => unique
15+
16+
// object
17+
18+
console.log(typeof undefined); // undefined
19+
console.log(typeof null); // object

0 commit comments

Comments
 (0)