diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-20 21:01:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-20 21:56:40 +0100 |
commit | bceabd7c4b4afde6d5771b172fc99c6da09f825b (patch) | |
tree | a911226680b8f9c4c65659c682245a60e341e16e /Libraries/LibJS/Makefile | |
parent | 8f7d4f67a4907297d60e0e2a5cc3cfdddfc69814 (diff) | |
download | serenity-bceabd7c4b4afde6d5771b172fc99c6da09f825b.zip |
LibJS: Add ArrayPrototype and implement Array.prototype.push()
This function is ultimately supposed to be generic and allow any |this|
that has a length property, but for now it only works on our own Array
object type.
Diffstat (limited to 'Libraries/LibJS/Makefile')
-rw-r--r-- | Libraries/LibJS/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/Makefile b/Libraries/LibJS/Makefile index cf1ef690f8..cb1f5141ed 100644 --- a/Libraries/LibJS/Makefile +++ b/Libraries/LibJS/Makefile @@ -7,6 +7,7 @@ OBJS = \ Lexer.o \ Parser.o \ Runtime/Array.o \ + Runtime/ArrayPrototype.o \ Runtime/Cell.o \ Runtime/ConsoleObject.o \ Runtime/Function.o \ |