diff options
author | Robin Burchell <[email protected]> | 2018-05-24 21:19:22 +0200 |
---|---|---|
committer | Robin Burchell <[email protected]> | 2018-05-25 20:41:46 +0000 |
commit | a1ea2b8ec057bca58fdb5e9498e2f302ef0e61b4 (patch) | |
tree | 44a46d21a149897ca2a9c352fc2a61b48a5a7aaa /src/qml/jsruntime/qv4arrayobject_p.h | |
parent | 120e5c8dd99a51c0b5010f1eb7101366ae3ea638 (diff) |
qv4arrayobject: Implement Array.prototype.fill according to ES7
Task-number: QTBUG-56824
Change-Id: Ib12b9fe5ebdd5375f17cf4927eb9b4e292731932
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4arrayobject_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4arrayobject_p.h b/src/qml/jsruntime/qv4arrayobject_p.h index 31067b0c39..a8feb65e80 100644 --- a/src/qml/jsruntime/qv4arrayobject_p.h +++ b/src/qml/jsruntime/qv4arrayobject_p.h @@ -98,6 +98,7 @@ struct ArrayPrototype: ArrayObject static ReturnedValue method_keys(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_lastIndexOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_every(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); + static ReturnedValue method_fill(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_some(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_forEach(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); static ReturnedValue method_map(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); |