1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 07:25:07 +00:00
serenity/Libraries/LibJS/Runtime
Andreas Kling bceabd7c4b 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.
2020-03-20 21:56:40 +01:00
..
Array.cpp LibJS: Add ArrayPrototype and implement Array.prototype.push() 2020-03-20 21:56:40 +01:00
Array.h LibJS: Add ArrayPrototype and implement Array.prototype.push() 2020-03-20 21:56:40 +01:00
ArrayPrototype.cpp LibJS: Add ArrayPrototype and implement Array.prototype.push() 2020-03-20 21:56:40 +01:00
ArrayPrototype.h LibJS: Add ArrayPrototype and implement Array.prototype.push() 2020-03-20 21:56:40 +01:00
Cell.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Cell.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
ConsoleObject.cpp LibJS: Print a newline in each console.log() 2020-03-20 14:41:23 +01:00
ConsoleObject.h LibJS: Replace the global print() function with console.log() :^) 2020-03-16 14:58:20 +01:00
Function.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Function.h LibJS: Pass argument value vectors as const Vector<Value>& 2020-03-17 16:24:53 +01:00
GlobalObject.cpp LibJS: Replace the global print() function with console.log() :^) 2020-03-16 14:58:20 +01:00
GlobalObject.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
NativeFunction.cpp LibJS: Tolerate NativeFunction::call() with non-object 'this' for now 2020-03-18 17:13:22 +01:00
NativeFunction.h LibJS: Pass argument value vectors as const Vector<Value>& 2020-03-17 16:24:53 +01:00
NativeProperty.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
NativeProperty.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Object.cpp LibJS: Support reading/writing elements in an Array via Object get/put 2020-03-20 21:56:40 +01:00
Object.h LibJS: Parse ArrayExpression and start implementing Array objects 2020-03-20 21:56:40 +01:00
ObjectPrototype.cpp LibJS: Pass argument value vectors as const Vector<Value>& 2020-03-17 16:24:53 +01:00
ObjectPrototype.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
PrimitiveString.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
PrimitiveString.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
ScriptFunction.cpp LibJS: Make the AST reference-counted 2020-03-18 11:23:53 +01:00
ScriptFunction.h LibJS: Make the AST reference-counted 2020-03-18 11:23:53 +01:00
StringObject.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
StringObject.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
StringPrototype.cpp LibJS: Pass argument value vectors as const Vector<Value>& 2020-03-17 16:24:53 +01:00
StringPrototype.h LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Value.cpp LibJS: Add "Heap" and "Runtime" subdirectories 2020-03-16 14:37:19 +01:00
Value.h LibJS: Allow default-constructing a JS::Value (undefined) 2020-03-20 21:56:40 +01:00