Sha256: d5a1da5e67149e804c7d0f8142d56479641e555255c9a061f6f8f0914f865c06

Contents?: true

Size: 609 Bytes

Versions: 1

Compression:

Stored size: 609 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;
    //redo if i > 10
  }

}).call(this);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nilac-0.0.4.1.4 shark/test_files/correct_unless_until.js