PageRenderTime 297ms CodeModel.GetById 122ms app.highlight 1ms RepoModel.GetById 127ms app.codeStats 0ms

/pyjs/tests/test031.js

http://pyjamas.googlecode.com/
JavaScript | 13 lines | 11 code | 2 blank | 0 comment | 0 complexity | df4ff4c9117ee1360ea4f7d8307d5c25 MD5 | raw file
 1__Foo.prototype.__class__ = "Foo";
 2function Foo() {
 3    return new __Foo();
 4}
 5function __Foo() {
 6}
 7__Foo.BAR = __Foo.prototype.BAR = 1;
 8__Foo.BAZ = __Foo.prototype.BAZ = 2;
 9function test() {
10    return __Foo.BAR;
11}
12
13