Last active
October 7, 2016 17:56
-
-
Save KSXGitHub/fa0a7a2ba554408f48a29978d48ecbf6 to your computer and use it in GitHub Desktop.
Default build script
This file contains 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
#! /usr/bin/env node | |
'use strict' | |
const {stdout} = require('process') | |
const {random} = Math | |
const i3rand = () => (random() * 10000) >> 0 | |
const loop = count => count ? `${i3rand()} → ${loop(count - 1)}` : 'end\n' | |
stdout.write(loop(1024)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment