/pyjs/tests/test031.js
http://pyjamas.googlecode.com/ · JavaScript · 13 lines · 11 code · 2 blank · 0 comment · 0 complexity · df4ff4c9117ee1360ea4f7d8307d5c25 MD5 · raw file
- __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;
- }