Skip to content

Commit c8e53bc

Browse files
committed
fixed spacing on comments
1 parent 90158cc commit c8e53bc

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

more-on-functions/exercises/raid-a-shuttle.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ console.log("Fuel level: " + checkFuel(fuelLevel));
2525
console.log("Hold status: " + holdStatus(cargoHold));
2626

2727
/* Steal some fuel from the shuttle:
28-
* /
28+
*/
2929

3030
//a). Define an anonymous function and set it equal to a variable with a normal, non-suspicious name. The function takes one parameter. This will be the fuel level on the shuttle.
3131

@@ -36,7 +36,7 @@ console.log("Hold status: " + holdStatus(cargoHold));
3636
//d). Decide where to best place your function call to gather our new fuel.
3737

3838
/* Next, liberate some of that glorious cargo.
39-
* /
39+
*/
4040

4141
//a). Define another anonymous function with an array as a parameter, and set it equal to another innocent variable.
4242

@@ -47,11 +47,10 @@ console.log("Hold status: " + holdStatus(cargoHold));
4747
//d). Don’t get hasty, matey! Remember to test your function.
4848

4949
/* Finally, you need to print a receipt for the accountant. Don’t laugh! That genius knows MATH and saves us more gold than you can imagine.
50-
* /
50+
*/
5151

5252
//a). Define a function called irs that can take fuelLevel and cargoHold as arguments.
5353

5454
//b). Call your anonymous fuel and cargo functions from within irs.
5555

56-
//c). Use a template literal to return, "Raided _____ kg of fuel from the tanks, and stole ____ and ____ from the cargo hold."
57-
56+
//c). Use a template literal to return, "Raided _____ kg of fuel from the tanks, and stole ____ and ____ from the cargo hold."

0 commit comments

Comments
 (0)