Sha256: bfd6606f13abd85598b77cbe8a2148e1e67aa8a4403e636e0f9c212b1872b303
Contents?: true
Size: 604 Bytes
Versions: 13
Compression:
Stored size: 604 Bytes
Contents
//Written using Nila. Visit http://adhithyan15.github.io/nila (function() { var i; // This file demonstrates unless and until statements. // Examples are from http://www.skorks.com/2009/09/a-wealth-of-ruby-loops-and-iterators/ and // http://37signals.com/svn/posts/2699-making-sense-with-rubys-unless if (!(person.present)) { console.log("There's no such person"); } if (!(person.present)) { console.log("There's no such person"); } i=1; while (!(i > 10)) { process.stdout.write("" + (i) + " "); i+=1; if (i === 9) { break; } } }).call(this);
Version data entries
13 entries across 13 versions & 1 rubygems