Sha256: 72a17b27d49a84e59590f04e8c1dda62d096aec658b2caf7efb86897c7e1bf81

Contents?: true

Size: 628 Bytes

Versions: 6

Compression:

Stored size: 628 Bytes

Contents

//Written using Nila. Visit http://adhithyan15.github.io/nila
(function() {
  var i;

  // This file demonstrates unless && until statements.

  // Examples are from http://www.skorks.com/2009/09/a-wealth-of-ruby-loops-and-iterators/ && 

  // 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

6 entries across 6 versions & 1 rubygems

Version Path
nilac-0.0.4.2.0 shark/test_files/correct_unless_until.js
nilac-0.0.4.1.9 shark/test_files/correct_unless_until.js
nilac-0.0.4.1.8 shark/test_files/correct_unless_until.js
nilac-0.0.4.1.7 shark/test_files/correct_unless_until.js
nilac-0.0.4.1.6 shark/test_files/correct_unless_until.js
nilac-0.0.4.1.5 shark/test_files/correct_unless_until.js