/pyjs/tests/test035.js

http://pyjamas.googlecode.com/ · JavaScript · 13 lines · 11 code · 2 blank · 0 comment · 0 complexity · 58466e2bc991ea5e2c6e3de03b59ee01 MD5 · raw file

  1. __Foo.prototype.__class__ = "Foo";
  2. function Foo() {
  3. return new __Foo();
  4. }
  5. function __Foo() {
  6. }
  7. function test() {
  8. var foo = Foo();
  9. var bar = Foo;
  10. __baz_Baz.prototype.doSomething.call();
  11. }