diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/deleteToString.js')
-rw-r--r-- | js/src/jit-test/tests/basic/deleteToString.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/deleteToString.js b/js/src/jit-test/tests/basic/deleteToString.js new file mode 100644 index 000000000..0b8dfc59d --- /dev/null +++ b/js/src/jit-test/tests/basic/deleteToString.js @@ -0,0 +1,5 @@ + +/* Inheritance of shadowed function properties from Object.prototype. */ + +delete Function.prototype.toString; +assertEq(Function.prototype.toString, Object.prototype.toString); |