Skip to content

Because my students were using 20 precious lines to write fizzbuzz

Notifications You must be signed in to change notification settings

codeocelot/fizzbuzz_oneliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fizzbuzz_oneliner

Because students were using 20 precious lines to write fizzbuzz.

The Current Record:

55 chars. Including module.exports.

The Rules:

Any es6 and lower syntax. Must run on nodejs v4.2.1 with --harmony flag set. Your code must be exportable using CommonJS syntax. In otherwords, it must be equivalent to module.exports=

How to Validate

node --harmony test.js

The output of wc -m found inside test.js is considered official.

Currently standing at 55 characters, set Nov 11.

How much lower can you go?

As usual, submit your PRs, including in your comment the output from test.js

About

Because my students were using 20 precious lines to write fizzbuzz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published