Index: src/typedarray.js |
diff --git a/src/typedarray.js b/src/typedarray.js |
index 812da32a96b14fc61a4907d767a22205b86e3702..2da7af0fa37e7f78ca79231fdc2a300b5e31640b 100644 |
--- a/src/typedarray.js |
+++ b/src/typedarray.js |
@@ -141,9 +141,11 @@ function NAMEConstructByIterable(obj, iterable, iteratorFn) { |
// of modifications to Object.prototype being observable here. |
var iterator = %_CallFunction(iterable, iteratorFn); |
var newIterable = { |
- __proto__: null, |
- [symbolIterator]() { return iterator; } |
+ __proto__: null |
}; |
+ // TODO(littledan): Computed properties don't work yet in nosnap. |
+ // Rephrase when they do. |
arv (Not doing code reviews)
2015/06/16 16:41:04
I guess we cannot use shipping features until the
|
+ newIterable[symbolIterator] = function() { return iterator; } |
for (var value of newIterable) { |
list.push(value); |
} |