void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) { _checkRange(start, end, this.length); int length = end - start; if (length == 0) return; if (skipCount < 0) throw new ArgumentError(skipCount); var args = <dynamic>[start, length] ..addAll(iterable.skip(skipCount).take(length)); callMethod('splice', args); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-js/JsArray/setRange.html