This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //FizzBuzz | |
| // Your code here. | |
| for ( var i = 0; i <= 100; i++) { | |
| var output = "" | |
| if ( i % 3 == 0 ) { | |
| output += "Fizz"; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Eloquent javascript book exercises | |
| // Your code here. | |
| //Write a loop that makes seven calls to console.log to output the following triangle: | |
| // # | |
| // ## | |
| // ### | |
| // #### | |
| // ##### | |
| // ###### |
NewerOlder