-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrev1.js
More file actions
52 lines (46 loc) · 853 Bytes
/
rev1.js
File metadata and controls
52 lines (46 loc) · 853 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
// //rev
// console.log("hello world")
// //rev
// const dob=13
// var weight2022=30
// let weight2024=55
// //rev
// let mobileno
// const eid=256
// let teachername="Amina"
// //rev
// let list=[1,2,3,"hey",2.78]
// let ob={
// name:"mak",
// idcard:3456
// }
// function fun(){
// console.log(ob,list,teachername,eid,mobileno,weight2024,weight2022,dob)
// }
// fun()
//rev
BTS={
name:'BTS',
genre:"HipHop",
members:["Rm","Jin","Suga","Jhope","Jimin","Jk","V"],
avgage:26
}
BP={
name:'BP',
genre:"HipHop",
members:["Lisa","Jenni","Jiso","Rose"],
avgage:23
}
let kpop={...BTS,...BP}
console.log(kpop);
console.log(BTS.genre)
console.log(BP.members[2]);
//rev
let fish=new Object
fish={
type1:"Rohu",
type2:"surmai",
type3:"mushqa"
}
let marlist=["apple","pen",fish]
console.log(marlist)