mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-10 22:36:01 +00:00
parent
1cba02c34d
commit
37b2c35169
@ -70,3 +70,8 @@ var arrayPrototype = Array.prototype;
|
||||
|
||||
exports[methodName] = {value: method};
|
||||
});
|
||||
|
||||
/* global Symbol */
|
||||
if (typeof Symbol != 'undefined' && Symbol.iterator) {
|
||||
exports[Symbol.iterator] = exports.values;
|
||||
}
|
||||
|
@ -571,7 +571,12 @@ module.exports = BaseTest.extend({
|
||||
'entries',
|
||||
'keys',
|
||||
'values',
|
||||
typeof Symbol != 'undefined' && Symbol.iterator, // eslint-disable-line no-undef
|
||||
].forEach(function(methodName) {
|
||||
if (!methodName) {
|
||||
return;
|
||||
}
|
||||
|
||||
var iterator = list[methodName]();
|
||||
var count = 0;
|
||||
var result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user