-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobject.js
More file actions
31 lines (26 loc) · 718 Bytes
/
object.js
File metadata and controls
31 lines (26 loc) · 718 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
let demo =
{
name:"shalini",
age:"15"
}
console.log(demo);
console.log(demo.name);
demo.name="rudhra";
console.log(demo);
let company = [
"Zenv", //0
2026, //1
["Chennai","Coimbatore","Bangalore"], //2
{
department: "QA",
employees: [
{ name: "Shalini", role: "Test Engineer", skills: ["Playwright", "Javascript", "API Testing"] }, //0
{ name: "Rudra", role: "QA Analyst", skills: ["Java", "Selenium", "Rest API"] } //1
]
}, //3
[
{ project: "AutoShop360", status: "Ongoing" },
{ project: "QuickCart", status: "Completed" }
] //4
];
console.log(company[3].employees[1].skills[2]);