summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/ObjectConstructor.h
diff options
context:
space:
mode:
authormattco98 <matthewcolsson@gmail.com>2020-04-29 18:59:23 -0700
committerAndreas Kling <kling@serenityos.org>2020-04-30 09:53:16 +0200
commit683a0696f3e37d038e33543f128f4bb61ed29fab (patch)
tree7da6a08824b4dfb51fa53d5c2629cb89c705471c /Libraries/LibJS/Runtime/ObjectConstructor.h
parent36a5e0be4b4fec2a091363c8bc3c9a53e159157a (diff)
downloadserenity-683a0696f3e37d038e33543f128f4bb61ed29fab.zip
LibJS: Add Object.{keys,values,entries}()
Diffstat (limited to 'Libraries/LibJS/Runtime/ObjectConstructor.h')
-rw-r--r--Libraries/LibJS/Runtime/ObjectConstructor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/ObjectConstructor.h b/Libraries/LibJS/Runtime/ObjectConstructor.h
index 4fbfa6ed59..3d80eff929 100644
--- a/Libraries/LibJS/Runtime/ObjectConstructor.h
+++ b/Libraries/LibJS/Runtime/ObjectConstructor.h
@@ -48,6 +48,9 @@ private:
static Value get_own_property_names(Interpreter&);
static Value get_prototype_of(Interpreter&);
static Value set_prototype_of(Interpreter&);
+ static Value keys(Interpreter&);
+ static Value values(Interpreter&);
+ static Value entries(Interpreter&);
};
}