I wish it can run on ANY mobile browsers once copied in local filesystem , I am not talking about online cloud or remote storage …
(function () { var t = new Array(); for(var i = 0; i < 3; i++) { t[i] = function(j) { console.log( i + j ); } } return t; } ()[2](4)); // 7?
function Square(width) { this.width = width; this.surface = function() { return this.width * this.width ; } } var s = new Square(2); console.log(s.width); console.log(s.surface()); /* class Rectangle { constructor(height, width) { this.height = height; this.width = width; } } var r = new Rectangle(1,2); console.log(r.width); */
See HOWTO : http://rzr.online.fr/lib/explorerdestroyer/00index.htm
Because there is no need to annoy LibreSoftware users, you can show ads for IE suckers with this javascript test :
if ( navigator.userAgent.lastIndexOf("MSIE") == -1 ) document.writeln( ad );
Load JsOn :
var t = require('t.json') console.log(JSON.stringify(t, null, 2));