diff --git a/lib/src/common.dart b/lib/src/common.dart index 1da1bcbb..a37eaf2f 100644 --- a/lib/src/common.dart +++ b/lib/src/common.dart @@ -61,7 +61,7 @@ dynamic jsify(dynamic obj) { return new JsObject.jsify(m); } else if (obj is Iterable) { // Do a deep convert. - return new JsArray.from(obj).map(jsify); + return new JsArray.from(obj.map(jsify)); } else { return obj; }