Index: sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
index 34915910c2451b96fb45186241cf5d0359f56947..4bd608853c589ced5b44801fd8c8cb9e8159c5af 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
@@ -84,10 +84,6 @@ class JSArray<E> implements List<E> { |
return IterableMixinWorkaround.forEach(this, f); |
} |
- Iterable map(f(E element)) { |
- return IterableMixinWorkaround.map(this, f); |
- } |
- |
List mappedBy(f(E element)) { |
return IterableMixinWorkaround.mappedByList(this, f); |
} |
@@ -101,7 +97,7 @@ class JSArray<E> implements List<E> { |
return JS('String', "#.join(#)", list, separator); |
} |
- Iterable<E> take(int n) { |
+ List<E> take(int n) { |
return IterableMixinWorkaround.takeList(this, n); |
} |
@@ -109,7 +105,7 @@ class JSArray<E> implements List<E> { |
return IterableMixinWorkaround.takeWhile(this, test); |
} |
- Iterable<E> skip(int n) { |
+ List<E> skip(int n) { |
return IterableMixinWorkaround.skipList(this, n); |
} |