-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
79 lines (53 loc) · 907 Bytes
/
Copy pathscript.js
File metadata and controls
79 lines (53 loc) · 907 Bytes
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* There are Two DataType */
//1.OBJECT
//2.PRIMITIVE
/* Primitive have 7 DataType */
/*
1.STRING
2.NUMBER
3.BOOLEAN
==========
4.UNDEFINED
5.NULL
6.SYMBLE
7.BIGINT
*/
//String
let fiestName = "Anik";
console.log(fiestName);
//Number
let age = 28;
console.log(age);
//Boolean
let isProgrammer = true;
console.log(isProgrammer);
//UnDefined
let city;
console.log(city);
//Null
let haveCar = null;
console.log(haveCar);
/* typeof is an Operator */
console.log(typeof fiestName);
console.log(typeof age);
console.log(typeof isProgrammer);
console.log(typeof city);
console.log(typeof haveCar); // javaScript Bug
/* JavaScript Arithmetic */
let x = 10;
let y = 30;
let z = x + y;
console.log(z);
let a = 40-20;
console.log(a);
let b = 30*2;
console.log(b);
let c = 30/2;
console.log(c);
let v = 19%2;
console.log(v);
let w = 12;
w +=8;
console.log(w);
let e = 3**3;
console.log(e);