Sha256: 6387934c34c8662fc8ff2d67472771ba2d425df7bb82fca6621fa4a77fc9e55a

Contents?: true

Size: 677 Bytes

Versions: 13

Compression:

Stored size: 677 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

13 entries across 13 versions & 1 rubygems

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