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 1c1e4920dbf0511057e3a10a6c2f10b06d87cfc8..e33ae3f6b8eac2ebf6f8fc63d8166f8062303044 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_array.dart |
@@ -92,6 +92,10 @@ class JSArray<E> implements List<E> { |
return IterableMixinWorkaround.mapList(this, f); |
} |
+ List mappedBy(f(E element)) { |
+ return IterableMixinWorkaround.mappedByList(this, f); |
+ } |
+ |
String join([String separator]) { |
if (separator == null) separator = ""; |
var list = new List(this.length); |
@@ -226,7 +230,7 @@ class JSArray<E> implements List<E> { |
bool every(bool f(E element)) => IterableMixinWorkaround.every(this, f); |
- Iterable<E> get reversed => IterableMixinWorkaround.reversedList(this); |
+ List<E> get reversed => IterableMixinWorkaround.reversedList(this); |
void sort([int compare(E a, E b)]) { |
checkMutable(this, 'sort'); |