JsArray<E>.from constructor

JsArray<E>.from(Iterable<E> other)

Creates a new JavaScript array and initializes it to the contents of other.

Implementation

JsArray.from(Iterable<E> other)
    : super._fromJs([]..addAll(other.map(_convertToJS)));