File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 17
17
Use `console.log` each time to display the return value of the
18
18
`giveCompliment` function to the console.
19
19
-----------------------------------------------------------------------------*/
20
- function giveCompliment ( /* parameter(s) go here */ ) {
20
+ function giveCompliment ( /* TODO: parameter(s) go here */ ) {
21
21
// TODO: complete this function
22
22
}
23
23
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const jobTitles = [
43
43
44
44
// This function should take an array as its parameter and return
45
45
// a randomly selected element as its return value.
46
- function selectRandomly ( /* parameter(s) go here */ ) {
46
+ function selectRandomly ( /* TODO: parameter(s) go here */ ) {
47
47
// TODO: complete this function
48
48
}
49
49
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const cartForParty = {
23
23
// TODO: complete this function
24
24
} ;
25
25
26
- function calculateTotalPrice ( /* parameter(s) go here */ ) {
26
+ function calculateTotalPrice ( /* TODO: parameter(s) go here */ ) {
27
27
// TODO: replace this comment with your code
28
28
}
29
29
Original file line number Diff line number Diff line change @@ -91,10 +91,10 @@ Good luck with completing `createPublisher`!
91
91
function createPublisher () {
92
92
const listeners = [];
93
93
return {
94
- subscribe : function (/* parameter(s) go here */ ) {
94
+ subscribe : function (/* TODO: parameter(s) go here */ ) {
95
95
// TODO: complete this function
96
96
},
97
- notify : function (/* parameter(s) go here */ ) {
97
+ notify : function (/* TODO: parameter(s) go here */ ) {
98
98
// TODO: complete this function
99
99
},
100
100
};
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const mondayTasks = [
29
29
30
30
const hourlyRate = 25 ;
31
31
32
- function computeEarnings ( /* parameter(s) go here */ ) {
32
+ function computeEarnings ( /* TODO: parameter(s) go here */ ) {
33
33
// TODO: complete this function
34
34
}
35
35
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const fruitBasket = [
23
23
"lemon" ,
24
24
] ;
25
25
26
- function sanitizeFruitBasket ( /* parameter(s) go here */ ) {
26
+ function sanitizeFruitBasket ( /* TODO: parameter(s) go here */ ) {
27
27
// TODO: complete this function
28
28
}
29
29
Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ Good luck with completing `createPublisher`!
40
40
function createPublisher ( ) {
41
41
const listeners = [ ] ;
42
42
return {
43
- subscribe : function ( /* parameter(s) go here */ ) {
43
+ subscribe : function ( /* TODO: parameter(s) go here */ ) {
44
44
// TODO: complete this function
45
45
} ,
46
- notify : function ( /* parameter(s) go here */ ) {
46
+ notify : function ( /* TODO: parameter(s) go here */ ) {
47
47
// TODO: complete this function
48
48
} ,
49
49
} ;
You can’t perform that action at this time.
0 commit comments