-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Challenges 1-3 Are Passing Test #3
base: master
Are you sure you want to change the base?
Conversation
@@ -13,11 +13,24 @@ | |||
@Test - Write a console.log that shows the value of `increaseLevel(10)` | |||
*/ | |||
|
|||
function increaseLevel(valuePassed) { | |||
valuePassed++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work on the shorthand syntax.
/* | ||
@Challenge 02 - Write a function named `makeEchoes` that loops for the number of times indicated and console.log's "Echo!" in each loop | ||
@Example - Sending the function a value of 5 will result in 5 "Echo!"'s in the terminal | ||
@Test - Make a function call of `makeEchoes(5)` | ||
*/ | ||
function makeEchoes (x) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. Consider avoiding single letter variables in favor or more meaningful names.
/* | ||
@Challenge 04 - Write a function named `showTheFifties` that loops from 1 to 200. | ||
Use a condition in the loop to console.log the number when it is over 49 and under 60 | ||
@Example - Expect to see 50, 51, 52, 53, 54, 55, 56, 57, 58, 59 in the terminal | ||
@Test - Make a function call of `showTheFifties()` | ||
*/ | ||
function showTheFifties(x) { | ||
let i; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra let
statement here on 61. Not harmful. Not needed though so making note.
No description provided.