/pyjs/tests/test037.js
http://pyjamas.googlecode.com/ · JavaScript · 9 lines · 9 code · 0 blank · 0 comment · 2 complexity · 674cd5c5981d741f4e83e7ca61d8e444 MD5 · raw file
- __Test.prototype.__class__ = "Test";
- function Test() {
- return new __Test();
- }
- function __Test() {
- }
- __Test.prototype.test = function(foo) {
- if (typeof foo == 'undefined') foo=5;
- };