1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

LibJS: Add the Object.fromEntries method

This commit is contained in:
Idan Horowitz 2021-06-15 12:46:14 +03:00 committed by Linus Groh
parent 2100b46d02
commit 9a0cbcc3d1
3 changed files with 40 additions and 0 deletions

View file

@ -39,6 +39,7 @@ private:
JS_DECLARE_NATIVE_FUNCTION(prevent_extensions);
JS_DECLARE_NATIVE_FUNCTION(seal);
JS_DECLARE_NATIVE_FUNCTION(freeze);
JS_DECLARE_NATIVE_FUNCTION(from_entries);
JS_DECLARE_NATIVE_FUNCTION(keys);
JS_DECLARE_NATIVE_FUNCTION(values);
JS_DECLARE_NATIVE_FUNCTION(entries);