Index: sdk/lib/js/dart2js/js_dart2js.dart |
diff --git a/sdk/lib/js/dart2js/js_dart2js.dart b/sdk/lib/js/dart2js/js_dart2js.dart |
index 30a8e21b1c79b2688c54b8484cfca482bba3f228..abe5139ccd1115f3a5a0b758ac065a7fd74bf949 100644 |
--- a/sdk/lib/js/dart2js/js_dart2js.dart |
+++ b/sdk/lib/js/dart2js/js_dart2js.dart |
@@ -500,7 +500,7 @@ class JsArray<E> extends JsObject with ListMixin<E> { |
void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) { |
_checkRange(start, end, length); |
- int length = end - start; |
+ length = end - start; |
if (length == 0) return; |
if (skipCount < 0) throw new ArgumentError(skipCount); |
var args = [start, length]..addAll(iterable.skip(skipCount).take(length)); |