1
Fork 0
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:
4ourbit 2020-04-10 23:33:02 +02:00 committed by GitHub
parent 31505dde7e
commit 02c9f4c951
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ try {
try {
Object.defineProperty(o, "bar", { value: "xx", enumerable: false });
assert(false);
} catch (e) {
assert(e.name === "TypeError");
}