mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
LibJS: Implement Array.prototype.{shift,pop}
This commit is contained in:
committed by
Andreas Kling
parent
c5cf740830
commit
c209ea1985
@@ -39,6 +39,8 @@ public:
|
||||
const Vector<Value>& elements() const { return m_elements; }
|
||||
Vector<Value>& elements() { return m_elements; }
|
||||
|
||||
Value shift();
|
||||
Value pop();
|
||||
void push(Value);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user