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