mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
LibJS: Improve Object.defineProperty test
This commit is contained in:
parent
31505dde7e
commit
02c9f4c951
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ try {
|
|||
|
||||
try {
|
||||
Object.defineProperty(o, "bar", { value: "xx", enumerable: false });
|
||||
assert(false);
|
||||
} catch (e) {
|
||||
assert(e.name === "TypeError");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue