-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.html
More file actions
72 lines (59 loc) · 1.79 KB
/
Copy pathvariables.html
File metadata and controls
72 lines (59 loc) · 1.79 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Variables & Its Type | JavaScript | Al- Arafat </title>
</head>
<body>
<H1> Assalamualaikum Or-Rohmatullah </H1>
<H2> Al - Arafat </H2>
</body>
<script src="variables.js"></script>
<script src="test-1.js"></script>
<script>
// Type-1:
const accountId = 15344
accountId = 2 //not allowed for constant,because it's not changeable.
let accountEmail = " arafatgmail.com "
accountEmail = " arfangmail.com "
var accountPassword = " 1545645 "
accountPassword = " 1545 "
accountCity = "Demra"
accountCity = " Dhaka "
console.log(accountId); //It's used to "Execute" this program.
console.log("Arafat");
/*
console.log(3
+
3);
// Please stay out of this kind of code,because of readability should be high.
*/
let accountState; //Undefined
console.table( [ accountEmail, accountPassword, accountCity, accountState ] );
</script>
<script>
// Type-2:
const myAccountId = 2
// myAccountId = 10
// console.log(myAccountId);
let myEmailId = "arafatgmail.com"
myEmailId = "yeashgmail.com"
// console.log(myEmailId);
var myName = "Al - Arafat Yeash"
myName = ' Al - Arfan Yeash '
// console.log(myName);
myLocation = " Dhaka "
myLocation = " Demra , Dhaka"
// console.log(myLocation);
// myState;
// console.log(myState);
let myWorkingSide;
// console.log(myWorkingSide);
// console.table([myAccountId,myEmailId,myName,myLocation,myState,myWorkingSide]);
var myOffice;
// console.log(myOffice);
let myQoutation = " This Program Is Made By Myself But Not Copied."
console.table([myAccountId,myEmailId,myName,myLocation,myWorkingSide,myQoutation,myOffice]);
</script>
</html>