Sha256: 08f484505d3aacd24d31b91baec50aff1979926925211637c64f41987663cc97

Contents?: true

Size: 897 Bytes

Versions: 12

Compression:

Stored size: 897 Bytes

Contents

//Written using Nila. Visit http://adhithyan15.github.io/nila
(function() {
  var jsonp, jsonprint, name, parsejson;

  name = "Adhithya Rajasekaran      ".replace(/\s+$/g,"");

  console.log(name);

  name = "    Adhithya Rajasekaran".replace(/^\s+/g,"");

  console.log(name);

  name = "Adhithya Rajasekaran".split(" ");

  console.log(name);

  name = "   Adhithya Rajasekaran  ".replace(/^\s+|\s+$/g,'');

  console.log(name);

  name = "Adhithya,Rajasekaran".split(",");

  console.log(name);

  name = ["Adhithya","Rajasekaran"].join();

  console.log(name);

  jsonprint = function(inputjson) {
    return console.log(inputjson);
  };

  jsonp = function(inputjson) {
    return console.log(inputjson);
  };

  parsejson = function(inputtext) {
    return inputtext.split("{");
  };

  parsejson(jsonprint("{message:Hello World!}"));

  jsonprint("{message:Hello World!}");

}).call(this);

Version data entries

12 entries across 12 versions & 1 rubygems

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