-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataTypesSummary.html
More file actions
54 lines (46 loc) · 1.12 KB
/
Copy pathDataTypesSummary.html
File metadata and controls
54 lines (46 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Data Types Summary | JavaScript | Al- Arafat </title>
</head>
<body>
<H1> Assalamualaikum Or-Rohmatullah </H1>
<H2> Al - Arafat </H2>
</body>
<script src="DataTypesSummary.js"></script>
<script src="test-5.js"></script>
<script>
// Type-1:
/*
DataType has 2 type:
i.Primitive ;
ii.Non-Primitive.
DataType defines as how to store in memory ,and how to access data in memory.
i.primitive: call by Value
7 types :
String,
Number,
Boolean,
Null,
Undefined,
Symbol,
BigInt
ii.Non-Primitive:call by reference
Arrays,Objects,Functions
Js is a Dynamic Language,Not Static Languages.
*/
/*
const score = 100
const scoreValue = 100.3
const isLoggedIn = false
const outsideTemp = null
let userEmail; // let userEmail = undefined //same
const id = Symbol("1252")
const anotherId = Symbol("1252")
// console.log(id === anotherId); // False => are not same
const bigNumber = 3545344254236n
*/
</script>
</html>