Sha256: d0ff05ddb3d00c84a3f06fcc997314a33d72a0261a68b8fe39770c86e61caf68
Contents?: true
Size: 829 Bytes
Versions: 1
Compression:
Stored size: 829 Bytes
Contents
//Written using Nila. Visit http://adhithyan15.github.io/nila (function() { var _ref1, count, current_val, first_name, last_name, name_split, name_split1, name_split2, next_val, parse_name; // This file demonstrates multiple variable initialization parse_name = function(input_name) { var name_split; name_split = input_name.split(" "); return [name_split[0],name_split[1]]; }; _ref1 = parse_name("Adhithya Rajasekaran"); first_name = _ref1[0]; last_name = _ref1[1]; console.log(first_name + " " + last_name); _ref1 = [0, 1, 1]; current_val = _ref1[0]; next_val = _ref1[1]; count = _ref1[2]; _ref1 = ["Adhithya Rajasekaran".split((" "),1),"Adhithya Rajasekaran".split(" ",2)]; name_split1 = _ref1[0]; name_split2 = _ref1[1]; }).call(this);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nilac-0.0.4.3.3 | shark/test_files/correct_initialization.js |