Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

get-iterator.js 347B

123456789
  1. var anObject = require('../internals/an-object');
  2. var getIteratorMethod = require('../internals/get-iterator-method');
  3. module.exports = function (it) {
  4. var iteratorMethod = getIteratorMethod(it);
  5. if (typeof iteratorMethod != 'function') {
  6. throw TypeError(String(it) + ' is not iterable');
  7. } return anObject(iteratorMethod.call(it));
  8. };