/pyjs/tests/test031.js
JavaScript | 13 lines | 11 code | 2 blank | 0 comment | 0 complexity | df4ff4c9117ee1360ea4f7d8307d5c25 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- __Foo.prototype.__class__ = "Foo";
- function Foo() {
- return new __Foo();
- }
- function __Foo() {
- }
- __Foo.BAR = __Foo.prototype.BAR = 1;
- __Foo.BAZ = __Foo.prototype.BAZ = 2;
- function test() {
- return __Foo.BAR;
- }