VAR b = {
A: 1,
B: Function () {
Alert ('a =' THIS.A ', B =' this.c);
}
D: function () {
THIS.A = 3;
THIS.B ();
}
E: {
A: 1,
B: 2
}
f: function () {
Alert (this.e.b);
}
}
B.A = 2;
B.c = 3;
B.B ();
B.D ();
B.F ();
script>
Use this method to OOP, feel more convenient to use New,
But I don't know how the method is better, the efficiency is higher?
Unfortunately, there is no structure.