-
Notifications
You must be signed in to change notification settings - Fork 0
/
people.js
62 lines (56 loc) · 1.34 KB
/
people.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
53
54
55
56
57
58
59
60
61
62
//1st pattern empty object example
// const return_empObj = ['nana', 'gina', 'jhon', 'andre'];
// console.log(return_empObj);
//
// const person = ['Hanna', 'Anna', 'Nana', 'Ada'];//throw err example patter 1
//2nd pattern correct example
const tekken_char_data = [
[
'Yoshimitsu',
'Hworang',
'Lee',
'Paul',
'jin'
],
'Tekken Character data list and movement',
{
name : 'Yoshimitsu',
combat_style : 'Kenjutsu',
special_move : 'itoryu'
},
{
name : 'Hworang',
combat_style : 'Taekwondo',
special_move : 'Flying High Kick'
},
{
name : 'Lee',
combat_style : 'Jeet kundo',
special_move : 'One Inch Punch'
},
{
name : 'Paul',
combat_style : 'Street Fighting',
special_move : 'Devastating Kunckle',
},
{
name : 'Jin',
combat_style : 'Karate',
special_move : 'Spinning Electric Kick'
}
]
const person_full_data = [
{
name : 'Jhon',
age : '25',
ocup : 'task force'
},
{
name : 'Nina',
age : '25',
ocup : 'front-desk'
}
]
module.exports = {
tekken_char_data, person_full_data
} // we can use different properties in here.