web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
479 B

  1. "use strict";
  2. var iteratorSymbol = require("es6-symbol").iterator;
  3. module.exports = function () {
  4. var str = "🙈f", iterator, result;
  5. if (typeof str[iteratorSymbol] !== "function") return false;
  6. iterator = str[iteratorSymbol]();
  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 !== "🙈") return false;
  12. if (result.done !== false) return false;
  13. return true;
  14. };