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

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

Source

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