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

Version Path
nilac-0.0.4.3.9.7.1 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.7 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.6 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.5 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.4 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.3 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.2 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9.1 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.9 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.8 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.7 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.6 shark/test_files/correct_unless_until.js
nilac-0.0.4.3.4 shark/test_files/correct_unless_until.js