freeCodeCamp/guide/english/certifications/javascript-algorithms-and-data-structures
Natalie Cardot 545b8a6f34 Modify if statement (#36088)
* Modify if statement

Change the solution so an empty string is returned when num is less than 1 rather than less than 0 for consistency with instructions.

* Add test 

New test checks that if num is 0, an empty string is returned

* Fix test 

Fixing errors in newly proposed test that checks that empty string is returned when num is 0

* Modify intermediate solution

Changing if statement in intermediate solution to check whether num is less than 1 rather than less than 0. (Also adding curly brackets to that solutions if/else statements.)

* fix: removed unnecessary assert message arguments
2019-05-20 21:08:20 -04:00
..
basic-algorithm-scripting Modify if statement (#36088) 2019-05-20 21:08:20 -04:00
basic-data-structures [Fix] correct Guide article example for Iterate Through the Keys of an Object with a for...in Statement (#35197) 2019-05-05 13:26:22 -05:00
basic-javascript solution logic fixed for negative numbers (#36093) 2019-05-20 08:31:10 -07:00
debugging fix: Restore missing emojis and fix broken links (#35703) 2019-03-29 12:52:56 -07:00
es6 fix(curriculum): Rewrote the Write Higher-Order Arrow Functions challenge and moved to Functional Programming section (#35954) 2019-05-15 11:12:17 -05:00
functional-programming Add comments and update callback arguments' names (#36082) 2019-05-19 10:45:34 -07:00
intermediate-algorithm-scripting Broken Links in Sum of all odd Fibbonaci Nos Guide (#35911) 2019-05-03 14:21:09 +05:30
javascript-algorithms-and-data-structures-projects fix: declared x variable (#36046) 2019-05-15 11:49:44 +05:30
object-oriented-programming Understand where an objects prototype comes from (#34643) 2019-03-17 17:19:21 -07:00
regular-expressions fix/regex-lower-number-of-matches (#36004) 2019-05-17 23:53:00 +01:00
index.md Javascript -> JavaScript (English) (#35183) 2019-03-28 14:05:41 +05:30