aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4iterator.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2018-05-26 20:16:43 +0200
committerRobin Burchell <robin.burchell@crimson.no>2018-05-30 18:13:13 +0000
commitb30d628c24ddb43cd7fe96e19459f4af24a9007b (patch)
treedadc6530adc92beb373bda18f9b2a561a03c294a /src/qml/jsruntime/qv4iterator.cpp
parente7dab999f7f662b7045e61ee080df3d00da18a92 (diff)
qv4arrayobject: Implement Array.from from ES7
The remaining failures look to be down to the constructor hack, but this gets us a good part of the way there already. Change-Id: I6e57828a56edddd5cb70560b6f50dfc6311c88ae Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4iterator.cpp')
-rw-r--r--src/qml/jsruntime/qv4iterator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4iterator.cpp b/src/qml/jsruntime/qv4iterator.cpp
index 3e2c2582f6..df8000a8f7 100644
--- a/src/qml/jsruntime/qv4iterator.cpp
+++ b/src/qml/jsruntime/qv4iterator.cpp
@@ -61,3 +61,4 @@ ReturnedValue IteratorPrototype::createIterResultObject(ExecutionEngine *engine,
obj->set(ScopedString(scope, engine->newString(QStringLiteral("done"))), Primitive::fromBoolean(done), Object::DoNotThrow);
return obj->asReturnedValue();
}
+