aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/v4/prototype.1.js
blob: 40db84a0a9bfe3a7fa53492116189eb4400593a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

function foo() {
}

print(foo.toString())
print(foo.__proto__)
print(foo.prototype)

//foo.prototype.xx = function() {
//    print("got xx")
//}

//f = new foo
//f.xx()