-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmap.js
More file actions
98 lines (80 loc) · 3.14 KB
/
Copy pathmap.js
File metadata and controls
98 lines (80 loc) · 3.14 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// // console.log(".......................................................")
// // const arr = [1,2,3,4,5,6,7,8,9,10]
// // const jk = arr.map( (a) => a*2)
// // const kl = arr.filter( (a) => a%2===0)
// // // console.log(jk)
// // // console.log(kl)
// // const reduce = arr.reduce((a, c) => a + c)
// // console.log(reduce)
// // console.log(".......................................................")
// const company = {
// name: "Tech Innovators Inc.",
// address: {
// street: "123 Innovation Drive",
// city: "Tech City",
// state: "CA",
// zip: "90210"
// },
// departments: [
// {
// name: "Engineering",
// manager: {
// name: "Alice Johnson",
// age: 42,
// title: "VP of Engineering"
// },
// employees: [
// { id: 1, name: "John Doe", age: 30, role: "Software Engineer", projects: [101, 102] },
// { id: 2, name: "Jane Smith", age: 28, role: "QA Engineer", projects: [103] },
// { id: 3, name: "Emily Davis", age: 35, role: "DevOps Engineer", projects: [104, 105] }
// ]
// },
// {
// name: "Marketing",
// manager: {
// name: "Robert Brown",
// age: 45,
// title: "VP of Marketing"
// },
// employees: [
// { id: 4, name: "Michael Wilson", age: 29, role: "Marketing Specialist", projects: [106] },
// { id: 5, name: "Jessica White", age: 32, role: "Content Creator", projects: [107, 108] }
// ]
// },
// {
// name: "Sales",
// manager: {
// name: "Linda Green",
// age: 39,
// title: "VP of Sales"
// },
// employees: [
// { id: 6, name: "Kevin Harris", age: 37, role: "Sales Manager", projects: [109] },
// { id: 7, name: "Laura Clark", age: 31, role: "Sales Associate", projects: [110, 111] }
// ]
// }
// ],
// projects: [
// { id: 101, name: "Project Alpha", budget: 100000, deadline: "2023-12-31" },
// { id: 102, name: "Project Beta", budget: 150000, deadline: "2024-03-31" },
// { id: 103, name: "Project Gamma", budget: 200000, deadline: "2024-06-30" },
// { id: 104, name: "Project Delta", budget: 250000, deadline: "2024-09-30" },
// { id: 105, name: "Project Epsilon", budget: 300000, deadline: "2024-12-31" },
// { id: 106, name: "Project Zeta", budget: 50000, deadline: "2023-11-30" },
// { id: 107, name: "Project Eta", budget: 60000, deadline: "2024-01-31" },
// { id: 108, name: "Project Theta", budget: 70000, deadline: "2024-04-30" },
// { id: 109, name: "Project Iota", budget: 80000, deadline: "2024-07-31" },
// { id: 110, name: "Project Kappa", budget: 90000, deadline: "2024-10-31" },
// { id: 111, name: "Project Lambda", budget: 100000, deadline: "2024-12-31" }
// ]
// };
// // console.log("i am working...")
// console.log("manager's name: ", company?.departments[1]?.manager?.age )
//* hoasting
console.log("hoasting")
console.log(names)
let test1 = "test1"
var test2 = "test2"
var names = function (){
return 5
}