First commit of partial RosettaCode contents.
Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
commit
1e05ecd7ee
781 changed files with 9080 additions and 0 deletions
8
Task/FizzBuzz/JavaScript/fizzbuzz-4.js
Normal file
8
Task/FizzBuzz/JavaScript/fizzbuzz-4.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(function() {
|
||||
var i;
|
||||
|
||||
for (i = 1; i <= 100; i++) {
|
||||
console.log([i % 3 === 0 ? 'Fizz' : void 0] + [i % 5 === 0 ? 'Buzz' : void 0] || i);
|
||||
}
|
||||
|
||||
}).call(this);
|
||||
Loading…
Add table
Add a link
Reference in a new issue