diff options
Diffstat (limited to 'tests/manual/v4/prototype.1.js')
-rw-r--r-- | tests/manual/v4/prototype.1.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/manual/v4/prototype.1.js b/tests/manual/v4/prototype.1.js new file mode 100644 index 0000000000..40db84a0a9 --- /dev/null +++ b/tests/manual/v4/prototype.1.js @@ -0,0 +1,14 @@ + +function foo() { +} + +print(foo.toString()) +print(foo.__proto__) +print(foo.prototype) + +//foo.prototype.xx = function() { +// print("got xx") +//} + +//f = new foo +//f.xx() |