Files
  • index.js
  • appv1.js
  • appv2.js
  • appv3.js
  • appv4.js
  • appv5.js
  • appv6.js
  • appv7.js
  • greetingsv1.js
  • greetingsv2.js
  • greetingsv3.js
  • person.js
index.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
63
const appv1 = require('./appv1');
const appv2 = require('./appv2');
const appv3 = require('./appv3');
const appv4 = require('./appv4');
const appv5 = require('./appv5');
const appv6 = require('./appv6');
const appv7 = require('./appv7');

const person = require('./person');

const greetingsv1 = require('./greetingsv1.js');

const { sayHelloInEnglish, sayHelloInTurkish, sayHelloInSpanish } = require('./greetingsv2.js');

const greetingsv3 = require('./greetingsv3');





appv1();

console.log('1-------------------');

appv2.group.showList();

console.log('2-------------------');

appv3.showList();

console.log('3-------------------');

appv4.group.showList();

console.log('4-------------------');

appv5.group.group.showList();

console.log('5-------------------');

appv6.group.showList();

console.log('6-------------------');

appv7.group.group.showList();

console.log('7-------------------');

let person1 = new person('James', 'Bond');

console.log(person1.fullName());

console.log('8-------------------');

console.log(greetingsv1.sayHelloInEnglish(), greetingsv1.sayHelloInTurkish(), greetingsv1.sayHelloInSpanish());

console.log('9-------------------');

console.log(sayHelloInTurkish(), sayHelloInEnglish(), sayHelloInSpanish());

console.log('10-------------------');

console.log(greetingsv3.sayHelloInSpanish(), greetingsv3.sayHelloInTurkish(), greetingsv3.sayHelloInEnglish());
node v9.7.1 linux/amd64