summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug675889.js
blob: 906bbb43107e42b6548967847f606b86aa9a027f (plain)
1
2
3
4
5
6
7
8
function checkMethods(proto) {
    var names = Object.getOwnPropertyNames(proto);
    for (var i = 0; i < names.length; i++) {
        var name = names[i];
        var prop = proto[name];
    }
}
checkMethods(Function.prototype);