summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/deleteToString.js
blob: 0b8dfc59d4aec2af89fd20abe716cc1a3d5f19f9 (plain)
1
2
3
4
5
/* Inheritance of shadowed function properties from Object.prototype. */

delete Function.prototype.toString;
assertEq(Function.prototype.toString, Object.prototype.toString);