Sha256: 7b948c2a05bf9a8915d7adca60b9ac6b22a7af506d943fbca92375bfa57185b7

Contents?: true

Size: 709 Bytes

Versions: 4

Compression:

Stored size: 709 Bytes

Contents

//Written using Nila. Visit http://adhithyan15.github.io/nila
(function() {
  var inst_section, student_ages, variable;

  // This file demonstrates several Hash features in Nila

  variable = 5;

  inst_section = {
    cello: 'string',
    clarinet: 'woodwind',
    drum: 'percussion',
    oboe: 'woodwind',
    trumpet: 'brass',
    violin: 'string',
    guitar: 'string',
  };

  if (variable === 10) {
    process.stdout.write("Variable is 10");
  } else if (variable === 20) {
    process.stdout.write("Variable is 20");
  } else {
    process.stdout.write("Variable is something else")
  }

  student_ages = {
    Jack: 10,
    Jill: 12,
    Bob: 14,
  };

}).call(this);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nilac-0.0.4.3.3 shark/test_files/correct_hashes.js
nilac-0.0.4.3.0 shark/test_files/correct_hashes.js
nilac-0.0.4.2.9 shark/test_files/correct_hashes.js
nilac-0.0.4.2.8 shark/test_files/correct_hashes.js