3 module.exports = function () {
4 var arr = [1, 'foo'], iterator, result;
5 if (typeof arr.keys !== 'function') return false;
7 if (!iterator) return false;
8 if (typeof iterator.next !== 'function') return false;
9 result = iterator.next();
10 if (!result) return false;
11 if (result.value !== 0) return false;
12 if (result.done !== false) return false;