mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibJS: Remove assert function from Object.defineProperty() test
This commit is contained in:
parent
dec352dacd
commit
7636dee2cb
Notes:
sideshowbarker
2024-07-19 07:44:25 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/7636dee2cb6 Pull-request: https://github.com/SerenityOS/serenity/pull/1731 Reviewed-by: https://github.com/awesomekling
1 changed files with 0 additions and 3 deletions
|
@ -1,7 +1,4 @@
|
|||
function assert(x) { if (!x) throw 1; }
|
||||
|
||||
try {
|
||||
|
||||
var o = {};
|
||||
Object.defineProperty(o, "foo", { value: 1, writable: false, enumerable: false });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue