Russian Laravel chat ☕🚀
var self=this
function bind(fn:Function, target:Object) : Function { return function () { return fn.apply(target, arguments); }; }
class Some { constructor() { this.some = bind(this.some, this); // bind function } some() { console.log(this); } }
Object.create = function(o) { function F() {} F.prototype = o; return new F(); }
this.some = bind(this.some, this)
Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode