summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/function-tosource-func-proto.js
blob: 34bcdf965e8c1129ab89a88f3b6abe4349d9c80b (plain)
1
2
3
4
assertEq(Function.prototype.toString(), "function () {\n    [native code]\n}");
if (Function.prototype.toSource) {
    assertEq(Function.prototype.toSource(), "function () {\n    [native code]\n}");
}