From 9af07c7803aaf08c55414dca315bbbfb9a23754e Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 6 Apr 2021 22:06:11 +0200 Subject: LibJS: Implement Object.freeze() and Object.seal() --- Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h') diff --git a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h index 21ad39f0b4..e7f685ff7c 100644 --- a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h +++ b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h @@ -118,6 +118,7 @@ namespace JS { P(flat) \ P(floor) \ P(forEach) \ + P(freeze) \ P(from) \ P(fromCharCode) \ P(fround) \ @@ -206,6 +207,7 @@ namespace JS { P(resolve) \ P(reverse) \ P(round) \ + P(seal) \ P(set) \ P(setFullYear) \ P(setHours) \ -- cgit v1.2.3