UNPKG

iterize

Version:

Use JavaScript Iterator, Easily

1 lines 1.52 kB
(function(a,b){if("function"==typeof define&&define.amd)define(["exports","@babel/runtime/helpers/classCallCheck","@babel/runtime/helpers/possibleConstructorReturn","@babel/runtime/helpers/getPrototypeOf","@babel/runtime/helpers/inherits","@babel/runtime/helpers/wrapNativeSuper"],b);else if("undefined"!=typeof exports)b(exports,require("@babel/runtime/helpers/classCallCheck"),require("@babel/runtime/helpers/possibleConstructorReturn"),require("@babel/runtime/helpers/getPrototypeOf"),require("@babel/runtime/helpers/inherits"),require("@babel/runtime/helpers/wrapNativeSuper"));else{var c={exports:{}};b(c.exports,a.babelRuntimeHelpersClassCallCheck,a.babelRuntimeHelpersPossibleConstructorReturn,a.babelRuntimeHelpersGetPrototypeOf,a.babelRuntimeHelpersInherits,a.babelRuntimeHelpersWrapNativeSuper),a.ErrorModels=c.exports}})(this,function(a,b,c,d,e,f){"use strict";var g=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(a,"__esModule",{value:!0}),a.BehaviorError=a.ArgumentError=void 0,b=g(b),c=g(c),d=g(d),e=g(e),f=g(f);var h=/*#__PURE__*/function(a){function f(a){var e;return(0,b.default)(this,f),e=(0,c.default)(this,(0,d.default)(f).call(this,a)),e.name="Argument Error",e}return(0,e.default)(f,a),f}((0,f.default)(Error));a.ArgumentError=h;var i=/*#__PURE__*/function(a){function f(a){var e;return(0,b.default)(this,f),e=(0,c.default)(this,(0,d.default)(f).call(this,a)),e.name="IteratorBehavior Error",e}return(0,e.default)(f,a),f}((0,f.default)(Error));a.BehaviorError=i});