-
Notifications
You must be signed in to change notification settings - Fork 4
/
module.js
53 lines (44 loc) · 1.22 KB
/
module.js
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
// exporting the contents of this file
// person object
const person = {
firstName: 'Blard',
lastName: 'Dev',
age: '23',
country: 'United States',
skills: ['html', 'css', 'js', 'react', 'node', 'python'],
isMarried: true,
// status: this.isMarried ? "I am married" : "I am single",
getDetails: function(){
return `Hi, my name is ${this.firstName} ${this.lastName}\nI live in ${this.country}, I am ${this.age} years old\nI have very good knowledge of ${this.skills}.}`
}
}
// foodList array
let foodList = ["Amala", "Agbado", "Ewa"]
const companies = [
{id: 1,
company: "B-tech",
category: "it",
from: 1989,
to: 2003},
{id: 2,
company: "GIG",
category: "logistics",
from: 2010,
to: 2019},
{id: 3,
company: "Techstudio academy",
category: "software",
from: 2018,
to: 2023},
{id: 4,
company: "Bosco Nig Ltd.",
category: "logistics",
from: 1998,
to: 2005},
{id: 5,
company: "Alaska suits",
category: "hospitality",
from: 2005,
to: 2023},
];
export {person, companies, foodList}