Sha256: 9a34d5879848689c570e38b531948506f36bd28919643f8d7c3fa0536356ec0c
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 Bytes
Contents
//Written using Nila. Visit http://adhithyan15.github.io/nila (function() { var _i, _j, grade, grades, num; grades = ["A", "B", "A", "C", "D", "F"]; for (_i = 0, _j = grades.length; _i < _j; _i += 1) { grade = grades[_i]; switch(grade) { case "A": console.log('You are pretty smart!'); break; case "B": console.log('You are pretty smart!'); break; case "C": console.log('You are intelligent!'); break; } } num = 5; switch(num) { case 1: console.log('Your input was 1'); break; case 2: console.log('Your input was 2'); break; default: console.log("Your input was greater than 2"); } }).call(this);
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nilac-0.0.4.3.9.1 | shark/test_files/correct_case.js |
nilac-0.0.4.3.9 | shark/test_files/correct_case.js |
nilac-0.0.4.3.8 | shark/test_files/correct_case.js |