-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirst.js
More file actions
70 lines (67 loc) · 1.45 KB
/
Copy pathfirst.js
File metadata and controls
70 lines (67 loc) · 1.45 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
/*FullName="Tony Stark";
FullName=25;
console.log(FullName);
Price=199.90;
x=null;
console.log(x);
y=undefined;
console.log(y);
isfollow=true;
console.log(Price);
console.log(isfollow);*/
/*let FullName="Tony Stark";
let Price=199;//we can update the variable but we can't redeclare the variable so we will use this for better coding;
let age=19;
age=67;
console.log(Price);
console.log(FullName);
console.log(age);*/
/*
var age=59;//in it we can update and redeclare a variable many times that causes confusion
var age=27;
var age=19;
console.log(age);*/
//const FullName="tony stark";
//console.log(FullName);// in it we can't update or redeclare a variable;//
/*{
let a=5;
}//we can redeclare let variable in different blocks;
{
let a=10;
}*/
/*let age=24;
let price=199.5;
let FullName="tony stark";
let isFollow=true;
let x=null;
let y=BigInt("23445");
let z=Symbol("Hello!");*/
/*const students = {
FullName:" Tony Stark",
RollNO :21,
age:20,
cgpa:8.9,
isPass:true,
};
students["age"] = students["age"] + 1;
console.log(students.FullName);
console.log(students.RollNO);
console.log(students.age);
console.log(students.cgpa);
*/
/*const Product ={
title:"Ball Pen",
rating: 4,
offer:5,
Price:249,
};
console.log(Product);*/
const Profile ={
UserName: "@Shardha khapra",
followers: 5690000,
following:4,
posts:195,
Details:"Apna College | ex-microsoft employee,DRDO",
isFollow: false,
};
console.log(Profile);