JavaScript JSON
by webproger on 2020-02-09
var j = {
   v: 0
  ,c: function() {
    g = this;
    this.v = 0;
    this.f = function() {
      window.alert(g.v);
    };
    this.e = function() {
      attach(window,'load',this.f);
    };
  }
}
o = new j.c();
o.v = 1;
o.e();
//1