JsArray<E>.from constructor

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

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

Implementation

factory JsArray.from(Iterable<E> other) {
  throw UnsupportedError(
      'JavaScript interop is not supported in this runtime.');
}