Sha256: 70e1cfd3bdafac1a6be77ee3327e6016da61bc4b98d194df18e9edc140bfd334
Contents?: true
Size: 632 Bytes
Versions: 4
Compression:
Stored size: 632 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
4 entries across 4 versions & 1 rubygems