-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtraining3.js
40 lines (34 loc) · 1.09 KB
/
training3.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
/*
misson 1:
I've create three function, and defined some global variables, please select some variables that can make up the name of the function, and return them(Please note the uppercase and lowercase letters are different).
When you have finished the work, click "Run Tests" to see if your code is working properly.
misson 2:
After misson 1 finished. you should click "Submit" to see my three questions, and write the answer in function ```answer1, answer2,answer3```
*/
//Answer//
var a1="A",a2="a",b1="B",b2="b",c1="C",c2="c",d1="D",d2="d",e1="E",e2="e",n1="N",n2="n"
function Dad(){
//select some variable to combine "Dad"
return d1+a2+d2;
}
function Bee(){
//select some variable to combine "Bee"
return b1+e2+e2;
}
function banana(){
//select some variable to combine "banana"
return b2+a2+n2+a2+n2+a2;
}
//answer some questions if you finished works above
function answer1(){
//the answer should be "yes" or "no"
return "no";
}
function answer2(){
//the answer should be "yes" or "no"
return "no";
}
function answer3(){
//the answer should be "yes" or "no"
return "yes";
}