3 var iteratorSymbol = require('es6-symbol').iterator;
5 module.exports = function () {
6 var str = '🙈f', iterator, result;
7 if (typeof str[iteratorSymbol] !== 'function') return false;
8 iterator = str[iteratorSymbol]();
9 if (!iterator) return false;
10 if (typeof iterator.next !== 'function') return false;
11 result = iterator.next();
12 if (!result) return false;
13 if (result.value !== '🙈') return false;
14 if (result.done !== false) return false;