core-js 2.2.2 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +345 -249
- package/Gruntfile.js +2 -1
- package/README.md +472 -165
- package/bower.json +1 -1
- package/build/Gruntfile.ls +4 -2
- package/build/build.ls +3 -3
- package/build/config.js +30 -5
- package/build/index.js +4 -4
- package/client/core.js +7975 -6662
- package/client/core.min.js +5 -5
- package/client/core.min.js.map +1 -1
- package/client/library.js +7489 -6225
- package/client/library.min.js +5 -5
- package/client/library.min.js.map +1 -1
- package/client/shim.js +7634 -6357
- package/client/shim.min.js +5 -5
- package/client/shim.min.js.map +1 -1
- package/core/_.js +1 -1
- package/core/dict.js +1 -1
- package/core/number.js +1 -1
- package/core/regexp.js +1 -1
- package/core/string.js +1 -1
- package/es5/index.js +1 -1
- package/es6/array.js +1 -1
- package/es6/date.js +1 -1
- package/es6/function.js +1 -1
- package/es6/index.js +1 -1
- package/es6/map.js +1 -1
- package/es6/math.js +1 -1
- package/es6/number.js +1 -1
- package/es6/object.js +1 -1
- package/es6/parse-float.js +1 -1
- package/es6/parse-int.js +1 -1
- package/es6/promise.js +1 -1
- package/es6/reflect.js +1 -1
- package/es6/regexp.js +1 -1
- package/es6/set.js +1 -1
- package/es6/string.js +1 -1
- package/es6/symbol.js +1 -1
- package/es6/typed.js +1 -1
- package/es6/weak-map.js +1 -1
- package/es6/weak-set.js +1 -1
- package/es7/array.js +3 -1
- package/es7/asap.js +2 -0
- package/es7/error.js +1 -1
- package/es7/global.js +2 -0
- package/es7/index.js +24 -0
- package/es7/map.js +3 -1
- package/es7/math.js +8 -0
- package/es7/object.js +1 -1
- package/es7/observable.js +7 -0
- package/es7/promise.js +3 -0
- package/es7/set.js +3 -1
- package/es7/symbol.js +3 -0
- package/es7/system.js +1 -1
- package/es7/weak-map.js +3 -0
- package/es7/weak-set.js +3 -0
- package/fn/_.js +1 -1
- package/fn/array/concat.js +2 -2
- package/fn/array/copy-within.js +1 -1
- package/fn/array/entries.js +1 -1
- package/fn/array/every.js +1 -1
- package/fn/array/fill.js +1 -1
- package/fn/array/filter.js +1 -1
- package/fn/array/find-index.js +1 -1
- package/fn/array/find.js +1 -1
- package/fn/array/flat-map.js +2 -0
- package/fn/array/flatten.js +2 -0
- package/fn/array/for-each.js +1 -1
- package/fn/array/from.js +1 -1
- package/fn/array/includes.js +1 -1
- package/fn/array/index-of.js +1 -1
- package/fn/array/index.js +3 -1
- package/fn/array/is-array.js +1 -1
- package/fn/array/iterator.js +1 -1
- package/fn/array/join.js +1 -1
- package/fn/array/keys.js +1 -1
- package/fn/array/last-index-of.js +1 -1
- package/fn/array/map.js +1 -1
- package/fn/array/of.js +1 -1
- package/fn/array/pop.js +2 -2
- package/fn/array/push.js +2 -2
- package/fn/array/reduce-right.js +1 -1
- package/fn/array/reduce.js +1 -1
- package/fn/array/reverse.js +2 -2
- package/fn/array/shift.js +2 -2
- package/fn/array/slice.js +1 -1
- package/fn/array/some.js +1 -1
- package/fn/array/sort.js +1 -1
- package/fn/array/splice.js +2 -2
- package/fn/array/unshift.js +2 -2
- package/fn/array/values.js +1 -1
- package/fn/array/virtual/copy-within.js +1 -1
- package/fn/array/virtual/entries.js +1 -1
- package/fn/array/virtual/every.js +1 -1
- package/fn/array/virtual/fill.js +1 -1
- package/fn/array/virtual/filter.js +1 -1
- package/fn/array/virtual/find-index.js +1 -1
- package/fn/array/virtual/find.js +1 -1
- package/fn/array/virtual/flat-map.js +2 -0
- package/fn/array/virtual/flatten.js +2 -0
- package/fn/array/virtual/for-each.js +1 -1
- package/fn/array/virtual/includes.js +1 -1
- package/fn/array/virtual/index-of.js +1 -1
- package/fn/array/virtual/index.js +1 -1
- package/fn/array/virtual/iterator.js +1 -1
- package/fn/array/virtual/join.js +1 -1
- package/fn/array/virtual/keys.js +1 -1
- package/fn/array/virtual/last-index-of.js +1 -1
- package/fn/array/virtual/map.js +1 -1
- package/fn/array/virtual/reduce-right.js +1 -1
- package/fn/array/virtual/reduce.js +1 -1
- package/fn/array/virtual/slice.js +1 -1
- package/fn/array/virtual/some.js +1 -1
- package/fn/array/virtual/sort.js +1 -1
- package/fn/array/virtual/values.js +1 -1
- package/fn/asap.js +2 -0
- package/fn/clear-immediate.js +1 -1
- package/fn/date/index.js +1 -1
- package/fn/date/now.js +1 -1
- package/fn/date/to-iso-string.js +1 -1
- package/fn/date/to-json.js +1 -1
- package/fn/date/to-primitive.js +2 -2
- package/fn/date/to-string.js +4 -4
- package/fn/dict.js +1 -1
- package/fn/dom-collections/index.js +4 -4
- package/fn/dom-collections/iterator.js +1 -1
- package/fn/error/index.js +1 -1
- package/fn/error/is-error.js +1 -1
- package/fn/function/bind.js +1 -1
- package/fn/function/has-instance.js +1 -1
- package/fn/function/name.js +1 -1
- package/fn/function/part.js +1 -1
- package/fn/function/virtual/bind.js +1 -1
- package/fn/function/virtual/index.js +1 -1
- package/fn/function/virtual/part.js +1 -1
- package/fn/get-iterator-method.js +1 -1
- package/fn/get-iterator.js +1 -1
- package/fn/global.js +2 -0
- package/fn/is-iterable.js +1 -1
- package/fn/json/index.js +1 -1
- package/fn/json/stringify.js +4 -4
- package/fn/map/from.js +8 -0
- package/fn/map/index.js +8 -0
- package/fn/map/of.js +8 -0
- package/fn/map.js +3 -1
- package/fn/math/acosh.js +1 -1
- package/fn/math/asinh.js +1 -1
- package/fn/math/atanh.js +1 -1
- package/fn/math/cbrt.js +1 -1
- package/fn/math/clamp.js +2 -0
- package/fn/math/clz32.js +1 -1
- package/fn/math/cosh.js +1 -1
- package/fn/math/deg-per-rad.js +2 -0
- package/fn/math/degrees.js +2 -0
- package/fn/math/expm1.js +1 -1
- package/fn/math/fround.js +1 -1
- package/fn/math/fscale.js +2 -0
- package/fn/math/hypot.js +1 -1
- package/fn/math/iaddh.js +1 -1
- package/fn/math/imul.js +1 -1
- package/fn/math/imulh.js +1 -1
- package/fn/math/index.js +9 -1
- package/fn/math/isubh.js +1 -1
- package/fn/math/log10.js +1 -1
- package/fn/math/log1p.js +1 -1
- package/fn/math/log2.js +1 -1
- package/fn/math/rad-per-deg.js +2 -0
- package/fn/math/radians.js +2 -0
- package/fn/math/scale.js +2 -0
- package/fn/math/sign.js +1 -1
- package/fn/math/signbit.js +3 -0
- package/fn/math/sinh.js +1 -1
- package/fn/math/tanh.js +1 -1
- package/fn/math/trunc.js +1 -1
- package/fn/math/umulh.js +1 -1
- package/fn/number/constructor.js +1 -1
- package/fn/number/epsilon.js +1 -1
- package/fn/number/index.js +1 -1
- package/fn/number/is-finite.js +1 -1
- package/fn/number/is-integer.js +1 -1
- package/fn/number/is-nan.js +1 -1
- package/fn/number/is-safe-integer.js +1 -1
- package/fn/number/iterator.js +2 -2
- package/fn/number/max-safe-integer.js +1 -1
- package/fn/number/min-safe-integer.js +1 -1
- package/fn/number/parse-float.js +1 -1
- package/fn/number/parse-int.js +1 -1
- package/fn/number/to-fixed.js +1 -1
- package/fn/number/to-precision.js +1 -1
- package/fn/number/virtual/index.js +1 -1
- package/fn/number/virtual/iterator.js +1 -1
- package/fn/number/virtual/to-fixed.js +1 -1
- package/fn/number/virtual/to-precision.js +1 -1
- package/fn/object/assign.js +1 -1
- package/fn/object/classof.js +1 -1
- package/fn/object/create.js +2 -2
- package/fn/object/define-getter.js +1 -1
- package/fn/object/define-properties.js +2 -2
- package/fn/object/define-property.js +2 -2
- package/fn/object/define-setter.js +1 -1
- package/fn/object/define.js +1 -1
- package/fn/object/entries.js +1 -1
- package/fn/object/freeze.js +1 -1
- package/fn/object/get-own-property-descriptor.js +2 -2
- package/fn/object/get-own-property-descriptors.js +1 -1
- package/fn/object/get-own-property-names.js +2 -2
- package/fn/object/get-own-property-symbols.js +1 -1
- package/fn/object/get-prototype-of.js +1 -1
- package/fn/object/index.js +1 -1
- package/fn/object/is-extensible.js +1 -1
- package/fn/object/is-frozen.js +1 -1
- package/fn/object/is-object.js +1 -1
- package/fn/object/is-sealed.js +1 -1
- package/fn/object/is.js +1 -1
- package/fn/object/keys.js +1 -1
- package/fn/object/lookup-getter.js +1 -1
- package/fn/object/lookup-setter.js +1 -1
- package/fn/object/make.js +1 -1
- package/fn/object/prevent-extensions.js +1 -1
- package/fn/object/seal.js +1 -1
- package/fn/object/set-prototype-of.js +1 -1
- package/fn/object/values.js +1 -1
- package/fn/observable.js +7 -0
- package/fn/parse-float.js +1 -1
- package/fn/parse-int.js +1 -1
- package/fn/promise/finally.js +4 -0
- package/fn/promise/index.js +7 -0
- package/fn/promise/try.js +8 -0
- package/fn/promise.js +3 -1
- package/fn/reflect/apply.js +1 -1
- package/fn/reflect/construct.js +1 -1
- package/fn/reflect/define-metadata.js +1 -1
- package/fn/reflect/define-property.js +1 -1
- package/fn/reflect/delete-metadata.js +1 -1
- package/fn/reflect/delete-property.js +1 -1
- package/fn/reflect/enumerate.js +1 -1
- package/fn/reflect/get-metadata-keys.js +1 -1
- package/fn/reflect/get-metadata.js +1 -1
- package/fn/reflect/get-own-metadata-keys.js +1 -1
- package/fn/reflect/get-own-metadata.js +1 -1
- package/fn/reflect/get-own-property-descriptor.js +1 -1
- package/fn/reflect/get-prototype-of.js +1 -1
- package/fn/reflect/get.js +1 -1
- package/fn/reflect/has-metadata.js +1 -1
- package/fn/reflect/has-own-metadata.js +1 -1
- package/fn/reflect/has.js +1 -1
- package/fn/reflect/index.js +1 -1
- package/fn/reflect/is-extensible.js +1 -1
- package/fn/reflect/metadata.js +1 -1
- package/fn/reflect/own-keys.js +1 -1
- package/fn/reflect/prevent-extensions.js +1 -1
- package/fn/reflect/set-prototype-of.js +1 -1
- package/fn/reflect/set.js +1 -1
- package/fn/regexp/constructor.js +1 -1
- package/fn/regexp/escape.js +1 -1
- package/fn/regexp/flags.js +2 -2
- package/fn/regexp/index.js +1 -1
- package/fn/regexp/match.js +2 -2
- package/fn/regexp/replace.js +2 -2
- package/fn/regexp/search.js +2 -2
- package/fn/regexp/split.js +2 -2
- package/fn/regexp/to-string.js +2 -2
- package/fn/set/from.js +8 -0
- package/fn/set/index.js +8 -0
- package/fn/set/of.js +8 -0
- package/fn/set-immediate.js +1 -1
- package/fn/set-interval.js +1 -1
- package/fn/set-timeout.js +1 -1
- package/fn/set.js +3 -1
- package/fn/string/anchor.js +1 -1
- package/fn/string/at.js +1 -1
- package/fn/string/big.js +1 -1
- package/fn/string/blink.js +1 -1
- package/fn/string/bold.js +1 -1
- package/fn/string/code-point-at.js +1 -1
- package/fn/string/ends-with.js +1 -1
- package/fn/string/escape-html.js +1 -1
- package/fn/string/fixed.js +1 -1
- package/fn/string/fontcolor.js +1 -1
- package/fn/string/fontsize.js +1 -1
- package/fn/string/from-code-point.js +1 -1
- package/fn/string/includes.js +1 -1
- package/fn/string/italics.js +1 -1
- package/fn/string/iterator.js +2 -2
- package/fn/string/link.js +1 -1
- package/fn/string/match-all.js +1 -1
- package/fn/string/raw.js +1 -1
- package/fn/string/repeat.js +1 -1
- package/fn/string/small.js +1 -1
- package/fn/string/starts-with.js +1 -1
- package/fn/string/strike.js +1 -1
- package/fn/string/sub.js +1 -1
- package/fn/string/sup.js +1 -1
- package/fn/string/trim-end.js +1 -1
- package/fn/string/trim-left.js +1 -1
- package/fn/string/trim-right.js +1 -1
- package/fn/string/trim-start.js +1 -1
- package/fn/string/trim.js +1 -1
- package/fn/string/unescape-html.js +1 -1
- package/fn/string/virtual/anchor.js +1 -1
- package/fn/string/virtual/at.js +1 -1
- package/fn/string/virtual/big.js +1 -1
- package/fn/string/virtual/blink.js +1 -1
- package/fn/string/virtual/bold.js +1 -1
- package/fn/string/virtual/code-point-at.js +1 -1
- package/fn/string/virtual/ends-with.js +1 -1
- package/fn/string/virtual/escape-html.js +1 -1
- package/fn/string/virtual/fixed.js +1 -1
- package/fn/string/virtual/fontcolor.js +1 -1
- package/fn/string/virtual/fontsize.js +1 -1
- package/fn/string/virtual/includes.js +1 -1
- package/fn/string/virtual/italics.js +1 -1
- package/fn/string/virtual/iterator.js +1 -1
- package/fn/string/virtual/link.js +1 -1
- package/fn/string/virtual/match-all.js +1 -1
- package/fn/string/virtual/pad-end.js +1 -1
- package/fn/string/virtual/pad-start.js +1 -1
- package/fn/string/virtual/repeat.js +1 -1
- package/fn/string/virtual/small.js +1 -1
- package/fn/string/virtual/starts-with.js +1 -1
- package/fn/string/virtual/strike.js +1 -1
- package/fn/string/virtual/sub.js +1 -1
- package/fn/string/virtual/sup.js +1 -1
- package/fn/string/virtual/trim-end.js +1 -1
- package/fn/string/virtual/trim-left.js +1 -1
- package/fn/string/virtual/trim-right.js +1 -1
- package/fn/string/virtual/trim-start.js +1 -1
- package/fn/string/virtual/trim.js +1 -1
- package/fn/string/virtual/unescape-html.js +1 -1
- package/fn/symbol/async-iterator.js +2 -0
- package/fn/symbol/for.js +1 -1
- package/fn/symbol/has-instance.js +2 -1
- package/fn/symbol/index.js +3 -1
- package/fn/symbol/is-concat-spreadable.js +1 -1
- package/fn/symbol/iterator.js +1 -1
- package/fn/symbol/key-for.js +1 -1
- package/fn/symbol/match.js +1 -1
- package/fn/symbol/observable.js +2 -0
- package/fn/symbol/replace.js +1 -1
- package/fn/symbol/search.js +1 -1
- package/fn/symbol/species.js +1 -1
- package/fn/symbol/split.js +1 -1
- package/fn/symbol/to-primitive.js +1 -1
- package/fn/symbol/to-string-tag.js +1 -1
- package/fn/symbol/unscopables.js +1 -1
- package/fn/system/global.js +1 -1
- package/fn/system/index.js +1 -1
- package/fn/typed/array-buffer.js +1 -1
- package/fn/typed/data-view.js +1 -1
- package/fn/typed/float32-array.js +1 -1
- package/fn/typed/float64-array.js +1 -1
- package/fn/typed/index.js +1 -1
- package/fn/typed/int16-array.js +1 -1
- package/fn/typed/int32-array.js +1 -1
- package/fn/typed/int8-array.js +1 -1
- package/fn/typed/uint16-array.js +1 -1
- package/fn/typed/uint32-array.js +1 -1
- package/fn/typed/uint8-array.js +1 -1
- package/fn/typed/uint8-clamped-array.js +1 -1
- package/fn/weak-map/from.js +8 -0
- package/fn/weak-map/index.js +6 -0
- package/fn/weak-map/of.js +8 -0
- package/fn/weak-map.js +3 -1
- package/fn/weak-set/from.js +8 -0
- package/fn/weak-set/index.js +6 -0
- package/fn/weak-set/of.js +8 -0
- package/fn/weak-set.js +3 -1
- package/index.js +1 -1
- package/library/core/_.js +1 -1
- package/library/core/dict.js +1 -1
- package/library/core/number.js +1 -1
- package/library/core/regexp.js +1 -1
- package/library/core/string.js +1 -1
- package/library/es5/index.js +1 -1
- package/library/es6/array.js +1 -1
- package/library/es6/date.js +1 -1
- package/library/es6/function.js +1 -1
- package/library/es6/index.js +1 -1
- package/library/es6/map.js +1 -1
- package/library/es6/math.js +1 -1
- package/library/es6/number.js +1 -1
- package/library/es6/object.js +1 -1
- package/library/es6/parse-float.js +1 -1
- package/library/es6/parse-int.js +1 -1
- package/library/es6/promise.js +1 -1
- package/library/es6/reflect.js +1 -1
- package/library/es6/regexp.js +1 -1
- package/library/es6/set.js +1 -1
- package/library/es6/string.js +1 -1
- package/library/es6/symbol.js +1 -1
- package/library/es6/typed.js +1 -1
- package/library/es6/weak-map.js +1 -1
- package/library/es6/weak-set.js +1 -1
- package/library/es7/array.js +3 -1
- package/library/es7/asap.js +2 -0
- package/library/es7/error.js +1 -1
- package/library/es7/global.js +2 -0
- package/library/es7/index.js +24 -0
- package/library/es7/map.js +3 -1
- package/library/es7/math.js +8 -0
- package/library/es7/object.js +1 -1
- package/library/es7/observable.js +7 -0
- package/library/es7/promise.js +3 -0
- package/library/es7/set.js +3 -1
- package/library/es7/symbol.js +3 -0
- package/library/es7/system.js +1 -1
- package/library/es7/weak-map.js +3 -0
- package/library/es7/weak-set.js +3 -0
- package/library/fn/_.js +1 -1
- package/library/fn/array/concat.js +2 -2
- package/library/fn/array/copy-within.js +1 -1
- package/library/fn/array/entries.js +1 -1
- package/library/fn/array/every.js +1 -1
- package/library/fn/array/fill.js +1 -1
- package/library/fn/array/filter.js +1 -1
- package/library/fn/array/find-index.js +1 -1
- package/library/fn/array/find.js +1 -1
- package/library/fn/array/flat-map.js +2 -0
- package/library/fn/array/flatten.js +2 -0
- package/library/fn/array/for-each.js +1 -1
- package/library/fn/array/from.js +1 -1
- package/library/fn/array/includes.js +1 -1
- package/library/fn/array/index-of.js +1 -1
- package/library/fn/array/index.js +3 -1
- package/library/fn/array/is-array.js +1 -1
- package/library/fn/array/iterator.js +1 -1
- package/library/fn/array/join.js +1 -1
- package/library/fn/array/keys.js +1 -1
- package/library/fn/array/last-index-of.js +1 -1
- package/library/fn/array/map.js +1 -1
- package/library/fn/array/of.js +1 -1
- package/library/fn/array/pop.js +2 -2
- package/library/fn/array/push.js +2 -2
- package/library/fn/array/reduce-right.js +1 -1
- package/library/fn/array/reduce.js +1 -1
- package/library/fn/array/reverse.js +2 -2
- package/library/fn/array/shift.js +2 -2
- package/library/fn/array/slice.js +1 -1
- package/library/fn/array/some.js +1 -1
- package/library/fn/array/sort.js +1 -1
- package/library/fn/array/splice.js +2 -2
- package/library/fn/array/unshift.js +2 -2
- package/library/fn/array/values.js +1 -1
- package/library/fn/array/virtual/copy-within.js +1 -1
- package/library/fn/array/virtual/entries.js +1 -1
- package/library/fn/array/virtual/every.js +1 -1
- package/library/fn/array/virtual/fill.js +1 -1
- package/library/fn/array/virtual/filter.js +1 -1
- package/library/fn/array/virtual/find-index.js +1 -1
- package/library/fn/array/virtual/find.js +1 -1
- package/library/fn/array/virtual/flat-map.js +2 -0
- package/library/fn/array/virtual/flatten.js +2 -0
- package/library/fn/array/virtual/for-each.js +1 -1
- package/library/fn/array/virtual/includes.js +1 -1
- package/library/fn/array/virtual/index-of.js +1 -1
- package/library/fn/array/virtual/index.js +1 -1
- package/library/fn/array/virtual/iterator.js +1 -1
- package/library/fn/array/virtual/join.js +1 -1
- package/library/fn/array/virtual/keys.js +1 -1
- package/library/fn/array/virtual/last-index-of.js +1 -1
- package/library/fn/array/virtual/map.js +1 -1
- package/library/fn/array/virtual/reduce-right.js +1 -1
- package/library/fn/array/virtual/reduce.js +1 -1
- package/library/fn/array/virtual/slice.js +1 -1
- package/library/fn/array/virtual/some.js +1 -1
- package/library/fn/array/virtual/sort.js +1 -1
- package/library/fn/array/virtual/values.js +1 -1
- package/library/fn/asap.js +2 -0
- package/library/fn/clear-immediate.js +1 -1
- package/library/fn/date/index.js +1 -1
- package/library/fn/date/now.js +1 -1
- package/library/fn/date/to-iso-string.js +1 -1
- package/library/fn/date/to-json.js +1 -1
- package/library/fn/date/to-primitive.js +2 -2
- package/library/fn/date/to-string.js +4 -4
- package/library/fn/dict.js +1 -1
- package/library/fn/dom-collections/index.js +4 -4
- package/library/fn/dom-collections/iterator.js +1 -1
- package/library/fn/error/index.js +1 -1
- package/library/fn/error/is-error.js +1 -1
- package/library/fn/function/bind.js +1 -1
- package/library/fn/function/has-instance.js +1 -1
- package/library/fn/function/name.js +1 -1
- package/library/fn/function/part.js +1 -1
- package/library/fn/function/virtual/bind.js +1 -1
- package/library/fn/function/virtual/index.js +1 -1
- package/library/fn/function/virtual/part.js +1 -1
- package/library/fn/get-iterator-method.js +1 -1
- package/library/fn/get-iterator.js +1 -1
- package/library/fn/global.js +2 -0
- package/library/fn/is-iterable.js +1 -1
- package/library/fn/json/index.js +1 -1
- package/library/fn/json/stringify.js +4 -4
- package/library/fn/map/from.js +8 -0
- package/library/fn/map/index.js +8 -0
- package/library/fn/map/of.js +8 -0
- package/library/fn/map.js +3 -1
- package/library/fn/math/acosh.js +1 -1
- package/library/fn/math/asinh.js +1 -1
- package/library/fn/math/atanh.js +1 -1
- package/library/fn/math/cbrt.js +1 -1
- package/library/fn/math/clamp.js +2 -0
- package/library/fn/math/clz32.js +1 -1
- package/library/fn/math/cosh.js +1 -1
- package/library/fn/math/deg-per-rad.js +2 -0
- package/library/fn/math/degrees.js +2 -0
- package/library/fn/math/expm1.js +1 -1
- package/library/fn/math/fround.js +1 -1
- package/library/fn/math/fscale.js +2 -0
- package/library/fn/math/hypot.js +1 -1
- package/library/fn/math/iaddh.js +1 -1
- package/library/fn/math/imul.js +1 -1
- package/library/fn/math/imulh.js +1 -1
- package/library/fn/math/index.js +9 -1
- package/library/fn/math/isubh.js +1 -1
- package/library/fn/math/log10.js +1 -1
- package/library/fn/math/log1p.js +1 -1
- package/library/fn/math/log2.js +1 -1
- package/library/fn/math/rad-per-deg.js +2 -0
- package/library/fn/math/radians.js +2 -0
- package/library/fn/math/scale.js +2 -0
- package/library/fn/math/sign.js +1 -1
- package/library/fn/math/signbit.js +3 -0
- package/library/fn/math/sinh.js +1 -1
- package/library/fn/math/tanh.js +1 -1
- package/library/fn/math/trunc.js +1 -1
- package/library/fn/math/umulh.js +1 -1
- package/library/fn/number/constructor.js +1 -1
- package/library/fn/number/epsilon.js +1 -1
- package/library/fn/number/index.js +1 -1
- package/library/fn/number/is-finite.js +1 -1
- package/library/fn/number/is-integer.js +1 -1
- package/library/fn/number/is-nan.js +1 -1
- package/library/fn/number/is-safe-integer.js +1 -1
- package/library/fn/number/iterator.js +2 -2
- package/library/fn/number/max-safe-integer.js +1 -1
- package/library/fn/number/min-safe-integer.js +1 -1
- package/library/fn/number/parse-float.js +1 -1
- package/library/fn/number/parse-int.js +1 -1
- package/library/fn/number/to-fixed.js +1 -1
- package/library/fn/number/to-precision.js +1 -1
- package/library/fn/number/virtual/index.js +1 -1
- package/library/fn/number/virtual/iterator.js +1 -1
- package/library/fn/number/virtual/to-fixed.js +1 -1
- package/library/fn/number/virtual/to-precision.js +1 -1
- package/library/fn/object/assign.js +1 -1
- package/library/fn/object/classof.js +1 -1
- package/library/fn/object/create.js +2 -2
- package/library/fn/object/define-getter.js +1 -1
- package/library/fn/object/define-properties.js +2 -2
- package/library/fn/object/define-property.js +2 -2
- package/library/fn/object/define-setter.js +1 -1
- package/library/fn/object/define.js +1 -1
- package/library/fn/object/entries.js +1 -1
- package/library/fn/object/freeze.js +1 -1
- package/library/fn/object/get-own-property-descriptor.js +2 -2
- package/library/fn/object/get-own-property-descriptors.js +1 -1
- package/library/fn/object/get-own-property-names.js +2 -2
- package/library/fn/object/get-own-property-symbols.js +1 -1
- package/library/fn/object/get-prototype-of.js +1 -1
- package/library/fn/object/index.js +1 -1
- package/library/fn/object/is-extensible.js +1 -1
- package/library/fn/object/is-frozen.js +1 -1
- package/library/fn/object/is-object.js +1 -1
- package/library/fn/object/is-sealed.js +1 -1
- package/library/fn/object/is.js +1 -1
- package/library/fn/object/keys.js +1 -1
- package/library/fn/object/lookup-getter.js +1 -1
- package/library/fn/object/lookup-setter.js +1 -1
- package/library/fn/object/make.js +1 -1
- package/library/fn/object/prevent-extensions.js +1 -1
- package/library/fn/object/seal.js +1 -1
- package/library/fn/object/set-prototype-of.js +1 -1
- package/library/fn/object/values.js +1 -1
- package/library/fn/observable.js +7 -0
- package/library/fn/parse-float.js +1 -1
- package/library/fn/parse-int.js +1 -1
- package/library/fn/promise/finally.js +4 -0
- package/library/fn/promise/index.js +7 -0
- package/library/fn/promise/try.js +8 -0
- package/library/fn/promise.js +3 -1
- package/library/fn/reflect/apply.js +1 -1
- package/library/fn/reflect/construct.js +1 -1
- package/library/fn/reflect/define-metadata.js +1 -1
- package/library/fn/reflect/define-property.js +1 -1
- package/library/fn/reflect/delete-metadata.js +1 -1
- package/library/fn/reflect/delete-property.js +1 -1
- package/library/fn/reflect/enumerate.js +1 -1
- package/library/fn/reflect/get-metadata-keys.js +1 -1
- package/library/fn/reflect/get-metadata.js +1 -1
- package/library/fn/reflect/get-own-metadata-keys.js +1 -1
- package/library/fn/reflect/get-own-metadata.js +1 -1
- package/library/fn/reflect/get-own-property-descriptor.js +1 -1
- package/library/fn/reflect/get-prototype-of.js +1 -1
- package/library/fn/reflect/get.js +1 -1
- package/library/fn/reflect/has-metadata.js +1 -1
- package/library/fn/reflect/has-own-metadata.js +1 -1
- package/library/fn/reflect/has.js +1 -1
- package/library/fn/reflect/index.js +1 -1
- package/library/fn/reflect/is-extensible.js +1 -1
- package/library/fn/reflect/metadata.js +1 -1
- package/library/fn/reflect/own-keys.js +1 -1
- package/library/fn/reflect/prevent-extensions.js +1 -1
- package/library/fn/reflect/set-prototype-of.js +1 -1
- package/library/fn/reflect/set.js +1 -1
- package/library/fn/regexp/constructor.js +1 -1
- package/library/fn/regexp/escape.js +1 -1
- package/library/fn/regexp/flags.js +2 -2
- package/library/fn/regexp/index.js +1 -1
- package/library/fn/regexp/match.js +2 -2
- package/library/fn/regexp/replace.js +2 -2
- package/library/fn/regexp/search.js +2 -2
- package/library/fn/regexp/split.js +2 -2
- package/library/fn/regexp/to-string.js +2 -2
- package/library/fn/set/from.js +8 -0
- package/library/fn/set/index.js +8 -0
- package/library/fn/set/of.js +8 -0
- package/library/fn/set-immediate.js +1 -1
- package/library/fn/set-interval.js +1 -1
- package/library/fn/set-timeout.js +1 -1
- package/library/fn/set.js +3 -1
- package/library/fn/string/anchor.js +1 -1
- package/library/fn/string/at.js +1 -1
- package/library/fn/string/big.js +1 -1
- package/library/fn/string/blink.js +1 -1
- package/library/fn/string/bold.js +1 -1
- package/library/fn/string/code-point-at.js +1 -1
- package/library/fn/string/ends-with.js +1 -1
- package/library/fn/string/escape-html.js +1 -1
- package/library/fn/string/fixed.js +1 -1
- package/library/fn/string/fontcolor.js +1 -1
- package/library/fn/string/fontsize.js +1 -1
- package/library/fn/string/from-code-point.js +1 -1
- package/library/fn/string/includes.js +1 -1
- package/library/fn/string/italics.js +1 -1
- package/library/fn/string/iterator.js +2 -2
- package/library/fn/string/link.js +1 -1
- package/library/fn/string/match-all.js +1 -1
- package/library/fn/string/raw.js +1 -1
- package/library/fn/string/repeat.js +1 -1
- package/library/fn/string/small.js +1 -1
- package/library/fn/string/starts-with.js +1 -1
- package/library/fn/string/strike.js +1 -1
- package/library/fn/string/sub.js +1 -1
- package/library/fn/string/sup.js +1 -1
- package/library/fn/string/trim-end.js +1 -1
- package/library/fn/string/trim-left.js +1 -1
- package/library/fn/string/trim-right.js +1 -1
- package/library/fn/string/trim-start.js +1 -1
- package/library/fn/string/trim.js +1 -1
- package/library/fn/string/unescape-html.js +1 -1
- package/library/fn/string/virtual/anchor.js +1 -1
- package/library/fn/string/virtual/at.js +1 -1
- package/library/fn/string/virtual/big.js +1 -1
- package/library/fn/string/virtual/blink.js +1 -1
- package/library/fn/string/virtual/bold.js +1 -1
- package/library/fn/string/virtual/code-point-at.js +1 -1
- package/library/fn/string/virtual/ends-with.js +1 -1
- package/library/fn/string/virtual/escape-html.js +1 -1
- package/library/fn/string/virtual/fixed.js +1 -1
- package/library/fn/string/virtual/fontcolor.js +1 -1
- package/library/fn/string/virtual/fontsize.js +1 -1
- package/library/fn/string/virtual/includes.js +1 -1
- package/library/fn/string/virtual/italics.js +1 -1
- package/library/fn/string/virtual/iterator.js +1 -1
- package/library/fn/string/virtual/link.js +1 -1
- package/library/fn/string/virtual/match-all.js +1 -1
- package/library/fn/string/virtual/pad-end.js +1 -1
- package/library/fn/string/virtual/pad-start.js +1 -1
- package/library/fn/string/virtual/repeat.js +1 -1
- package/library/fn/string/virtual/small.js +1 -1
- package/library/fn/string/virtual/starts-with.js +1 -1
- package/library/fn/string/virtual/strike.js +1 -1
- package/library/fn/string/virtual/sub.js +1 -1
- package/library/fn/string/virtual/sup.js +1 -1
- package/library/fn/string/virtual/trim-end.js +1 -1
- package/library/fn/string/virtual/trim-left.js +1 -1
- package/library/fn/string/virtual/trim-right.js +1 -1
- package/library/fn/string/virtual/trim-start.js +1 -1
- package/library/fn/string/virtual/trim.js +1 -1
- package/library/fn/string/virtual/unescape-html.js +1 -1
- package/library/fn/symbol/async-iterator.js +2 -0
- package/library/fn/symbol/for.js +1 -1
- package/library/fn/symbol/has-instance.js +2 -1
- package/library/fn/symbol/index.js +3 -1
- package/library/fn/symbol/is-concat-spreadable.js +1 -1
- package/library/fn/symbol/iterator.js +1 -1
- package/library/fn/symbol/key-for.js +1 -1
- package/library/fn/symbol/match.js +1 -1
- package/library/fn/symbol/observable.js +2 -0
- package/library/fn/symbol/replace.js +1 -1
- package/library/fn/symbol/search.js +1 -1
- package/library/fn/symbol/species.js +1 -1
- package/library/fn/symbol/split.js +1 -1
- package/library/fn/symbol/to-primitive.js +1 -1
- package/library/fn/symbol/to-string-tag.js +1 -1
- package/library/fn/symbol/unscopables.js +1 -1
- package/library/fn/system/global.js +1 -1
- package/library/fn/system/index.js +1 -1
- package/library/fn/typed/array-buffer.js +1 -1
- package/library/fn/typed/data-view.js +1 -1
- package/library/fn/typed/float32-array.js +1 -1
- package/library/fn/typed/float64-array.js +1 -1
- package/library/fn/typed/index.js +1 -1
- package/library/fn/typed/int16-array.js +1 -1
- package/library/fn/typed/int32-array.js +1 -1
- package/library/fn/typed/int8-array.js +1 -1
- package/library/fn/typed/uint16-array.js +1 -1
- package/library/fn/typed/uint32-array.js +1 -1
- package/library/fn/typed/uint8-array.js +1 -1
- package/library/fn/typed/uint8-clamped-array.js +1 -1
- package/library/fn/weak-map/from.js +8 -0
- package/library/fn/weak-map/index.js +6 -0
- package/library/fn/weak-map/of.js +8 -0
- package/library/fn/weak-map.js +3 -1
- package/library/fn/weak-set/from.js +8 -0
- package/library/fn/weak-set/index.js +6 -0
- package/library/fn/weak-set/of.js +8 -0
- package/library/fn/weak-set.js +3 -1
- package/library/index.js +1 -1
- package/library/modules/_a-function.js +3 -3
- package/library/modules/_a-number-value.js +5 -5
- package/library/modules/_add-to-unscopables.js +1 -1
- package/library/modules/_an-instance.js +3 -3
- package/library/modules/_an-object.js +3 -3
- package/library/modules/_array-copy-within.js +18 -18
- package/library/modules/_array-fill.js +12 -12
- package/library/modules/_array-from-iterable.js +1 -1
- package/library/modules/_array-includes.js +17 -15
- package/library/modules/_array-methods.js +31 -31
- package/library/modules/_array-reduce.js +28 -28
- package/library/modules/_array-species-constructor.js +16 -0
- package/library/modules/_array-species-create.js +5 -15
- package/library/modules/_bind.js +15 -14
- package/library/modules/_classof.js +8 -8
- package/library/modules/_cof.js +2 -2
- package/library/modules/_collection-strong.js +69 -68
- package/library/modules/_collection-to-json.js +6 -6
- package/library/modules/_collection-weak.js +38 -36
- package/library/modules/_collection.js +31 -31
- package/library/modules/_core.js +2 -2
- package/library/modules/_create-property.js +8 -8
- package/library/modules/_ctx.js +8 -8
- package/library/modules/_date-to-iso-string.js +26 -0
- package/library/modules/_date-to-primitive.js +9 -9
- package/library/modules/_defined.js +3 -3
- package/library/modules/_descriptors.js +3 -3
- package/library/modules/_dom-create.js +6 -6
- package/library/modules/_entry-virtual.js +2 -2
- package/library/modules/_enum-bug-keys.js +4 -4
- package/library/modules/_enum-keys.js +13 -13
- package/library/modules/_export.js +28 -28
- package/library/modules/_fails-is-regexp.js +4 -4
- package/library/modules/_fails.js +3 -3
- package/library/modules/_fix-re-wks.js +16 -16
- package/library/modules/_flags.js +9 -9
- package/library/modules/_flatten-into-array.js +39 -0
- package/library/modules/_for-of.js +23 -17
- package/library/modules/_global.js +4 -2
- package/library/modules/_has.js +2 -2
- package/library/modules/_hide.js +5 -5
- package/library/modules/_html.js +2 -1
- package/library/modules/_ie8-dom-define.js +3 -3
- package/library/modules/_inherit-if-required.js +9 -8
- package/library/modules/_invoke.js +4 -4
- package/library/modules/_iobject.js +3 -2
- package/library/modules/_is-array-iter.js +5 -5
- package/library/modules/_is-array.js +2 -2
- package/library/modules/_is-integer.js +4 -4
- package/library/modules/_is-object.js +2 -2
- package/library/modules/_is-regexp.js +5 -5
- package/library/modules/_iter-call.js +4 -4
- package/library/modules/_iter-create.js +8 -8
- package/library/modules/_iter-define.js +45 -45
- package/library/modules/_iter-detect.js +14 -13
- package/library/modules/_iter-step.js +3 -3
- package/library/modules/_iterators.js +1 -1
- package/library/modules/_keyof.js +10 -10
- package/library/modules/_library.js +1 -1
- package/library/modules/_math-expm1.js +2 -2
- package/library/modules/_math-fround.js +23 -0
- package/library/modules/_math-log1p.js +2 -2
- package/library/modules/_math-scale.js +18 -0
- package/library/modules/_math-sign.js +3 -2
- package/library/modules/_meta.js +26 -26
- package/library/modules/_metadata.js +21 -21
- package/library/modules/_microtask.js +64 -54
- package/library/modules/_new-promise-capability.js +18 -0
- package/library/modules/_object-assign.js +27 -26
- package/library/modules/_object-create.js +41 -40
- package/library/modules/_object-define.js +11 -10
- package/library/modules/_object-dp.js +10 -10
- package/library/modules/_object-dps.js +13 -13
- package/library/modules/_object-forced-pam.js +9 -7
- package/library/modules/_object-gopd.js +16 -16
- package/library/modules/_object-gopn-ext.js +6 -6
- package/library/modules/_object-gopn.js +7 -7
- package/library/modules/_object-gops.js +1 -1
- package/library/modules/_object-gpo.js +13 -13
- package/library/modules/_object-keys-internal.js +17 -17
- package/library/modules/_object-keys.js +7 -7
- package/library/modules/_object-pie.js +1 -1
- package/library/modules/_object-sap.js +8 -8
- package/library/modules/_object-to-array.js +13 -13
- package/library/modules/_own-keys.js +8 -8
- package/library/modules/_parse-float.js +6 -6
- package/library/modules/_parse-int.js +6 -6
- package/library/modules/_partial.js +21 -19
- package/library/modules/_path.js +1 -1
- package/library/modules/_perform.js +7 -0
- package/library/modules/_promise-resolve.js +8 -0
- package/library/modules/_property-desc.js +5 -5
- package/library/modules/_redefine-all.js +4 -4
- package/library/modules/_redefine.js +1 -1
- package/library/modules/_replacer.js +4 -4
- package/library/modules/_same-value.js +3 -2
- package/library/modules/_set-collection-from.js +28 -0
- package/library/modules/_set-collection-of.js +12 -0
- package/library/modules/_set-proto.js +9 -9
- package/library/modules/_set-species.js +9 -9
- package/library/modules/_set-to-string-tag.js +6 -6
- package/library/modules/_shared-key.js +5 -5
- package/library/modules/_shared.js +5 -5
- package/library/modules/_species-constructor.js +7 -6
- package/library/modules/_strict-method.js +9 -7
- package/library/modules/_string-at.js +10 -10
- package/library/modules/_string-context.js +5 -5
- package/library/modules/_string-html.js +11 -11
- package/library/modules/_string-pad.js +12 -13
- package/library/modules/_string-repeat.js +9 -9
- package/library/modules/_string-trim.js +16 -16
- package/library/modules/_string-ws.js +2 -2
- package/library/modules/_task.js +44 -35
- package/library/modules/_to-absolute-index.js +7 -0
- package/library/modules/_to-index.js +10 -7
- package/library/modules/_to-integer.js +4 -4
- package/library/modules/_to-iobject.js +4 -4
- package/library/modules/_to-length.js +4 -4
- package/library/modules/_to-object.js +2 -2
- package/library/modules/_to-primitive.js +6 -6
- package/library/modules/_typed-array.js +242 -243
- package/library/modules/_typed-buffer.js +155 -154
- package/library/modules/_typed.js +16 -14
- package/library/modules/_uid.js +4 -4
- package/library/modules/_validate-collection.js +5 -0
- package/library/modules/_wks-define.js +9 -0
- package/library/modules/_wks-ext.js +1 -0
- package/library/modules/_wks.js +9 -6
- package/library/modules/core.delay.js +7 -7
- package/library/modules/core.dict.js +85 -83
- package/library/modules/core.function.part.js +3 -3
- package/library/modules/core.get-iterator-method.js +6 -6
- package/library/modules/core.get-iterator.js +5 -5
- package/library/modules/core.is-iterable.js +6 -5
- package/library/modules/core.number.iterator.js +6 -6
- package/library/modules/core.object.classof.js +1 -1
- package/library/modules/core.object.define.js +3 -3
- package/library/modules/core.object.is-object.js +1 -1
- package/library/modules/core.object.make.js +5 -5
- package/library/modules/core.regexp.escape.js +3 -3
- package/library/modules/core.string.escape-html.js +1 -1
- package/library/modules/core.string.unescape-html.js +4 -4
- package/library/modules/es5.js +1 -1
- package/library/modules/es6.array.copy-within.js +2 -2
- package/library/modules/es6.array.every.js +10 -10
- package/library/modules/es6.array.fill.js +2 -2
- package/library/modules/es6.array.filter.js +10 -10
- package/library/modules/es6.array.find-index.js +7 -7
- package/library/modules/es6.array.find.js +7 -7
- package/library/modules/es6.array.for-each.js +11 -11
- package/library/modules/es6.array.from.js +22 -22
- package/library/modules/es6.array.index-of.js +15 -15
- package/library/modules/es6.array.is-array.js +4 -4
- package/library/modules/es6.array.iterator.js +13 -13
- package/library/modules/es6.array.join.js +12 -12
- package/library/modules/es6.array.last-index-of.js +22 -22
- package/library/modules/es6.array.map.js +10 -10
- package/library/modules/es6.array.of.js +10 -10
- package/library/modules/es6.array.reduce-right.js +10 -10
- package/library/modules/es6.array.reduce.js +10 -10
- package/library/modules/es6.array.slice.js +28 -28
- package/library/modules/es6.array.some.js +10 -10
- package/library/modules/es6.array.sort.js +23 -23
- package/library/modules/es6.array.species.js +1 -1
- package/library/modules/es6.date.now.js +4 -4
- package/library/modules/es6.date.to-iso-string.js +8 -28
- package/library/modules/es6.date.to-json.js +15 -10
- package/library/modules/es6.function.bind.js +4 -4
- package/library/modules/es6.function.has-instance.js +9 -9
- package/library/modules/es6.map.js +9 -7
- package/library/modules/es6.math.acosh.js +7 -7
- package/library/modules/es6.math.asinh.js +5 -5
- package/library/modules/es6.math.atanh.js +5 -5
- package/library/modules/es6.math.cbrt.js +4 -4
- package/library/modules/es6.math.clz32.js +2 -2
- package/library/modules/es6.math.cosh.js +4 -4
- package/library/modules/es6.math.expm1.js +3 -3
- package/library/modules/es6.math.fround.js +2 -24
- package/library/modules/es6.math.hypot.js +15 -15
- package/library/modules/es6.math.imul.js +10 -10
- package/library/modules/es6.math.log10.js +3 -3
- package/library/modules/es6.math.log1p.js +1 -1
- package/library/modules/es6.math.log2.js +2 -2
- package/library/modules/es6.math.sign.js +1 -1
- package/library/modules/es6.math.sinh.js +6 -6
- package/library/modules/es6.math.tanh.js +7 -7
- package/library/modules/es6.math.trunc.js +2 -2
- package/library/modules/es6.number.epsilon.js +1 -1
- package/library/modules/es6.number.is-finite.js +4 -4
- package/library/modules/es6.number.is-integer.js +1 -1
- package/library/modules/es6.number.is-nan.js +3 -2
- package/library/modules/es6.number.is-safe-integer.js +5 -5
- package/library/modules/es6.number.max-safe-integer.js +1 -1
- package/library/modules/es6.number.min-safe-integer.js +1 -1
- package/library/modules/es6.number.parse-float.js +3 -3
- package/library/modules/es6.number.parse-int.js +3 -3
- package/library/modules/es6.number.to-fixed.js +114 -114
- package/library/modules/es6.number.to-precision.js +18 -18
- package/library/modules/es6.object.assign.js +1 -1
- package/library/modules/es6.object.create.js +3 -3
- package/library/modules/es6.object.define-properties.js +3 -3
- package/library/modules/es6.object.define-property.js +3 -3
- package/library/modules/es6.object.freeze.js +5 -5
- package/library/modules/es6.object.get-own-property-descriptor.js +5 -5
- package/library/modules/es6.object.get-own-property-names.js +2 -2
- package/library/modules/es6.object.get-prototype-of.js +5 -5
- package/library/modules/es6.object.is-extensible.js +3 -3
- package/library/modules/es6.object.is-frozen.js +3 -3
- package/library/modules/es6.object.is-sealed.js +3 -3
- package/library/modules/es6.object.is.js +1 -1
- package/library/modules/es6.object.keys.js +5 -5
- package/library/modules/es6.object.prevent-extensions.js +5 -5
- package/library/modules/es6.object.seal.js +5 -5
- package/library/modules/es6.object.set-prototype-of.js +1 -1
- package/library/modules/es6.parse-float.js +4 -4
- package/library/modules/es6.parse-int.js +4 -4
- package/library/modules/es6.promise.js +146 -159
- package/library/modules/es6.reflect.apply.js +14 -7
- package/library/modules/es6.reflect.construct.js +29 -20
- package/library/modules/es6.reflect.define-property.js +10 -9
- package/library/modules/es6.reflect.delete-property.js +5 -5
- package/library/modules/es6.reflect.enumerate.js +15 -15
- package/library/modules/es6.reflect.get-own-property-descriptor.js +5 -5
- package/library/modules/es6.reflect.get-prototype-of.js +5 -5
- package/library/modules/es6.reflect.get.js +13 -13
- package/library/modules/es6.reflect.has.js +2 -2
- package/library/modules/es6.reflect.is-extensible.js +5 -5
- package/library/modules/es6.reflect.own-keys.js +1 -1
- package/library/modules/es6.reflect.prevent-extensions.js +7 -7
- package/library/modules/es6.reflect.set-prototype-of.js +6 -6
- package/library/modules/es6.reflect.set.js +17 -17
- package/library/modules/es6.regexp.constructor.js +1 -1
- package/library/modules/es6.set.js +7 -5
- package/library/modules/es6.string.anchor.js +4 -4
- package/library/modules/es6.string.big.js +4 -4
- package/library/modules/es6.string.blink.js +4 -4
- package/library/modules/es6.string.bold.js +4 -4
- package/library/modules/es6.string.code-point-at.js +4 -4
- package/library/modules/es6.string.ends-with.js +12 -12
- package/library/modules/es6.string.fixed.js +4 -4
- package/library/modules/es6.string.fontcolor.js +4 -4
- package/library/modules/es6.string.fontsize.js +4 -4
- package/library/modules/es6.string.from-code-point.js +12 -12
- package/library/modules/es6.string.includes.js +5 -5
- package/library/modules/es6.string.italics.js +4 -4
- package/library/modules/es6.string.iterator.js +9 -9
- package/library/modules/es6.string.link.js +4 -4
- package/library/modules/es6.string.raw.js +12 -12
- package/library/modules/es6.string.repeat.js +1 -1
- package/library/modules/es6.string.small.js +4 -4
- package/library/modules/es6.string.starts-with.js +10 -10
- package/library/modules/es6.string.strike.js +4 -4
- package/library/modules/es6.string.sub.js +4 -4
- package/library/modules/es6.string.sup.js +4 -4
- package/library/modules/es6.string.trim.js +3 -3
- package/library/modules/es6.symbol.js +143 -143
- package/library/modules/es6.typed.array-buffer.js +29 -30
- package/library/modules/es6.typed.data-view.js +1 -1
- package/library/modules/es6.typed.float32-array.js +3 -3
- package/library/modules/es6.typed.float64-array.js +3 -3
- package/library/modules/es6.typed.int16-array.js +3 -3
- package/library/modules/es6.typed.int32-array.js +3 -3
- package/library/modules/es6.typed.int8-array.js +3 -3
- package/library/modules/es6.typed.uint16-array.js +3 -3
- package/library/modules/es6.typed.uint32-array.js +3 -3
- package/library/modules/es6.typed.uint8-array.js +3 -3
- package/library/modules/es6.typed.uint8-clamped-array.js +3 -3
- package/library/modules/es6.weak-map.js +31 -29
- package/library/modules/es6.weak-set.js +7 -5
- package/library/modules/es7.array.flat-map.js +22 -0
- package/library/modules/es7.array.flatten.js +21 -0
- package/library/modules/es7.array.includes.js +4 -4
- package/library/modules/es7.asap.js +12 -0
- package/library/modules/es7.error.is-error.js +4 -4
- package/library/modules/es7.global.js +4 -0
- package/library/modules/es7.map.from.js +2 -0
- package/library/modules/es7.map.of.js +2 -0
- package/library/modules/es7.map.to-json.js +2 -2
- package/library/modules/es7.math.clamp.js +8 -0
- package/library/modules/es7.math.deg-per-rad.js +4 -0
- package/library/modules/es7.math.degrees.js +9 -0
- package/library/modules/es7.math.fscale.js +10 -0
- package/library/modules/es7.math.iaddh.js +5 -5
- package/library/modules/es7.math.imulh.js +10 -10
- package/library/modules/es7.math.isubh.js +5 -5
- package/library/modules/es7.math.rad-per-deg.js +4 -0
- package/library/modules/es7.math.radians.js +9 -0
- package/library/modules/es7.math.scale.js +4 -0
- package/library/modules/es7.math.signbit.js +7 -0
- package/library/modules/es7.math.umulh.js +10 -10
- package/library/modules/es7.object.define-getter.js +12 -12
- package/library/modules/es7.object.define-setter.js +12 -12
- package/library/modules/es7.object.entries.js +4 -4
- package/library/modules/es7.object.get-own-property-descriptors.js +17 -14
- package/library/modules/es7.object.lookup-getter.js +18 -18
- package/library/modules/es7.object.lookup-setter.js +18 -18
- package/library/modules/es7.object.values.js +4 -4
- package/library/modules/es7.observable.js +199 -0
- package/library/modules/es7.promise.finally.js +20 -0
- package/library/modules/es7.promise.try.js +12 -0
- package/library/modules/es7.reflect.define-metadata.js +6 -6
- package/library/modules/es7.reflect.delete-metadata.js +11 -11
- package/library/modules/es7.reflect.get-metadata-keys.js +14 -14
- package/library/modules/es7.reflect.get-metadata.js +10 -10
- package/library/modules/es7.reflect.get-own-metadata-keys.js +6 -6
- package/library/modules/es7.reflect.get-own-metadata.js +6 -6
- package/library/modules/es7.reflect.has-metadata.js +9 -9
- package/library/modules/es7.reflect.has-own-metadata.js +6 -6
- package/library/modules/es7.reflect.metadata.js +8 -8
- package/library/modules/es7.set.from.js +2 -0
- package/library/modules/es7.set.of.js +2 -0
- package/library/modules/es7.set.to-json.js +2 -2
- package/library/modules/es7.string.at.js +4 -4
- package/library/modules/es7.string.match-all.js +30 -30
- package/library/modules/es7.string.pad-end.js +4 -4
- package/library/modules/es7.string.pad-start.js +4 -4
- package/library/modules/es7.string.trim-left.js +3 -3
- package/library/modules/es7.string.trim-right.js +3 -3
- package/library/modules/es7.symbol.async-iterator.js +1 -0
- package/library/modules/es7.symbol.observable.js +1 -0
- package/library/modules/es7.system.global.js +2 -2
- package/library/modules/es7.weak-map.from.js +2 -0
- package/library/modules/es7.weak-map.of.js +2 -0
- package/library/modules/es7.weak-set.from.js +2 -0
- package/library/modules/es7.weak-set.of.js +2 -0
- package/library/modules/web.dom.iterable.js +16 -10
- package/library/modules/web.immediate.js +4 -4
- package/library/modules/web.timers.js +11 -10
- package/library/shim.js +26 -1
- package/library/stage/0.js +2 -1
- package/library/stage/1.js +22 -4
- package/library/stage/2.js +4 -1
- package/library/stage/3.js +4 -6
- package/library/stage/4.js +6 -1
- package/library/stage/index.js +1 -1
- package/library/stage/pre.js +10 -10
- package/library/web/dom-collections.js +1 -1
- package/library/web/immediate.js +1 -1
- package/library/web/index.js +1 -1
- package/library/web/timers.js +1 -1
- package/modules/_a-function.js +3 -3
- package/modules/_a-number-value.js +5 -5
- package/modules/_add-to-unscopables.js +5 -5
- package/modules/_an-instance.js +3 -3
- package/modules/_an-object.js +3 -3
- package/modules/_array-copy-within.js +18 -18
- package/modules/_array-fill.js +12 -12
- package/modules/_array-from-iterable.js +1 -1
- package/modules/_array-includes.js +17 -15
- package/modules/_array-methods.js +31 -31
- package/modules/_array-reduce.js +28 -28
- package/modules/_array-species-constructor.js +16 -0
- package/modules/_array-species-create.js +5 -15
- package/modules/_bind.js +15 -14
- package/modules/_classof.js +8 -8
- package/modules/_cof.js +2 -2
- package/modules/_collection-strong.js +69 -68
- package/modules/_collection-to-json.js +6 -6
- package/modules/_collection-weak.js +38 -36
- package/modules/_collection.js +50 -50
- package/modules/_core.js +2 -2
- package/modules/_create-property.js +8 -8
- package/modules/_ctx.js +8 -8
- package/modules/_date-to-iso-string.js +26 -0
- package/modules/_date-to-primitive.js +9 -9
- package/modules/_defined.js +3 -3
- package/modules/_descriptors.js +3 -3
- package/modules/_dom-create.js +6 -6
- package/modules/_entry-virtual.js +2 -2
- package/modules/_enum-bug-keys.js +4 -4
- package/modules/_enum-keys.js +13 -13
- package/modules/_export.js +23 -23
- package/modules/_fails-is-regexp.js +4 -4
- package/modules/_fails.js +3 -3
- package/modules/_fix-re-wks.js +16 -16
- package/modules/_flags.js +9 -9
- package/modules/_flatten-into-array.js +39 -0
- package/modules/_for-of.js +23 -17
- package/modules/_global.js +4 -2
- package/modules/_has.js +2 -2
- package/modules/_hide.js +5 -5
- package/modules/_html.js +2 -1
- package/modules/_ie8-dom-define.js +3 -3
- package/modules/_inherit-if-required.js +9 -8
- package/modules/_invoke.js +4 -4
- package/modules/_iobject.js +3 -2
- package/modules/_is-array-iter.js +5 -5
- package/modules/_is-array.js +2 -2
- package/modules/_is-integer.js +4 -4
- package/modules/_is-object.js +2 -2
- package/modules/_is-regexp.js +5 -5
- package/modules/_iter-call.js +4 -4
- package/modules/_iter-create.js +8 -8
- package/modules/_iter-define.js +45 -45
- package/modules/_iter-detect.js +14 -13
- package/modules/_iter-step.js +3 -3
- package/modules/_iterators.js +1 -1
- package/modules/_keyof.js +10 -10
- package/modules/_library.js +1 -1
- package/modules/_math-expm1.js +2 -2
- package/modules/_math-fround.js +23 -0
- package/modules/_math-log1p.js +2 -2
- package/modules/_math-scale.js +18 -0
- package/modules/_math-sign.js +3 -2
- package/modules/_meta.js +26 -26
- package/modules/_metadata.js +21 -21
- package/modules/_microtask.js +64 -54
- package/modules/_new-promise-capability.js +18 -0
- package/modules/_object-assign.js +27 -26
- package/modules/_object-create.js +41 -40
- package/modules/_object-define.js +11 -10
- package/modules/_object-dp.js +10 -10
- package/modules/_object-dps.js +13 -13
- package/modules/_object-forced-pam.js +9 -7
- package/modules/_object-gopd.js +16 -16
- package/modules/_object-gopn-ext.js +6 -6
- package/modules/_object-gopn.js +7 -7
- package/modules/_object-gops.js +1 -1
- package/modules/_object-gpo.js +13 -13
- package/modules/_object-keys-internal.js +17 -17
- package/modules/_object-keys.js +7 -7
- package/modules/_object-pie.js +1 -1
- package/modules/_object-sap.js +8 -8
- package/modules/_object-to-array.js +13 -13
- package/modules/_own-keys.js +8 -8
- package/modules/_parse-float.js +6 -6
- package/modules/_parse-int.js +6 -6
- package/modules/_partial.js +21 -19
- package/modules/_path.js +1 -1
- package/modules/_perform.js +7 -0
- package/modules/_promise-resolve.js +8 -0
- package/modules/_property-desc.js +5 -5
- package/modules/_redefine-all.js +3 -3
- package/modules/_redefine.js +21 -22
- package/modules/_replacer.js +4 -4
- package/modules/_same-value.js +3 -2
- package/modules/_set-collection-from.js +28 -0
- package/modules/_set-collection-of.js +12 -0
- package/modules/_set-proto.js +9 -9
- package/modules/_set-species.js +8 -8
- package/modules/_set-to-string-tag.js +6 -6
- package/modules/_shared-key.js +5 -5
- package/modules/_shared.js +5 -5
- package/modules/_species-constructor.js +7 -6
- package/modules/_strict-method.js +9 -7
- package/modules/_string-at.js +10 -10
- package/modules/_string-context.js +5 -5
- package/modules/_string-html.js +11 -11
- package/modules/_string-pad.js +12 -13
- package/modules/_string-repeat.js +9 -9
- package/modules/_string-trim.js +16 -16
- package/modules/_string-ws.js +2 -2
- package/modules/_task.js +44 -35
- package/modules/_to-absolute-index.js +7 -0
- package/modules/_to-index.js +10 -7
- package/modules/_to-integer.js +4 -4
- package/modules/_to-iobject.js +4 -4
- package/modules/_to-length.js +4 -4
- package/modules/_to-object.js +2 -2
- package/modules/_to-primitive.js +6 -6
- package/modules/_typed-array.js +242 -243
- package/modules/_typed-buffer.js +155 -154
- package/modules/_typed.js +16 -14
- package/modules/_uid.js +4 -4
- package/modules/_validate-collection.js +5 -0
- package/modules/_wks-define.js +9 -0
- package/modules/_wks-ext.js +1 -0
- package/modules/_wks.js +9 -6
- package/modules/core.delay.js +7 -7
- package/modules/core.dict.js +85 -83
- package/modules/core.function.part.js +3 -3
- package/modules/core.get-iterator-method.js +6 -6
- package/modules/core.get-iterator.js +5 -5
- package/modules/core.is-iterable.js +6 -5
- package/modules/core.number.iterator.js +6 -6
- package/modules/core.object.classof.js +1 -1
- package/modules/core.object.define.js +3 -3
- package/modules/core.object.is-object.js +1 -1
- package/modules/core.object.make.js +5 -5
- package/modules/core.regexp.escape.js +3 -3
- package/modules/core.string.escape-html.js +1 -1
- package/modules/core.string.unescape-html.js +4 -4
- package/modules/es5.js +1 -1
- package/modules/es6.array.copy-within.js +2 -2
- package/modules/es6.array.every.js +10 -10
- package/modules/es6.array.fill.js +2 -2
- package/modules/es6.array.filter.js +10 -10
- package/modules/es6.array.find-index.js +7 -7
- package/modules/es6.array.find.js +7 -7
- package/modules/es6.array.for-each.js +11 -11
- package/modules/es6.array.from.js +22 -22
- package/modules/es6.array.index-of.js +15 -15
- package/modules/es6.array.is-array.js +4 -4
- package/modules/es6.array.iterator.js +13 -13
- package/modules/es6.array.join.js +12 -12
- package/modules/es6.array.last-index-of.js +22 -22
- package/modules/es6.array.map.js +10 -10
- package/modules/es6.array.of.js +10 -10
- package/modules/es6.array.reduce-right.js +10 -10
- package/modules/es6.array.reduce.js +10 -10
- package/modules/es6.array.slice.js +28 -28
- package/modules/es6.array.some.js +10 -10
- package/modules/es6.array.sort.js +23 -23
- package/modules/es6.array.species.js +1 -1
- package/modules/es6.date.now.js +4 -4
- package/modules/es6.date.to-iso-string.js +8 -28
- package/modules/es6.date.to-json.js +11 -9
- package/modules/es6.date.to-primitive.js +4 -4
- package/modules/es6.date.to-string.js +9 -8
- package/modules/es6.function.bind.js +4 -4
- package/modules/es6.function.has-instance.js +9 -9
- package/modules/es6.function.name.js +12 -12
- package/modules/es6.map.js +9 -7
- package/modules/es6.math.acosh.js +7 -7
- package/modules/es6.math.asinh.js +5 -5
- package/modules/es6.math.atanh.js +5 -5
- package/modules/es6.math.cbrt.js +4 -4
- package/modules/es6.math.clz32.js +2 -2
- package/modules/es6.math.cosh.js +4 -4
- package/modules/es6.math.expm1.js +3 -3
- package/modules/es6.math.fround.js +2 -24
- package/modules/es6.math.hypot.js +15 -15
- package/modules/es6.math.imul.js +10 -10
- package/modules/es6.math.log10.js +3 -3
- package/modules/es6.math.log1p.js +1 -1
- package/modules/es6.math.log2.js +2 -2
- package/modules/es6.math.sign.js +1 -1
- package/modules/es6.math.sinh.js +6 -6
- package/modules/es6.math.tanh.js +7 -7
- package/modules/es6.math.trunc.js +2 -2
- package/modules/es6.number.constructor.js +39 -39
- package/modules/es6.number.epsilon.js +1 -1
- package/modules/es6.number.is-finite.js +4 -4
- package/modules/es6.number.is-integer.js +1 -1
- package/modules/es6.number.is-nan.js +3 -2
- package/modules/es6.number.is-safe-integer.js +5 -5
- package/modules/es6.number.max-safe-integer.js +1 -1
- package/modules/es6.number.min-safe-integer.js +1 -1
- package/modules/es6.number.parse-float.js +3 -3
- package/modules/es6.number.parse-int.js +3 -3
- package/modules/es6.number.to-fixed.js +114 -114
- package/modules/es6.number.to-precision.js +18 -18
- package/modules/es6.object.assign.js +1 -1
- package/modules/es6.object.create.js +3 -3
- package/modules/es6.object.define-properties.js +3 -3
- package/modules/es6.object.define-property.js +3 -3
- package/modules/es6.object.freeze.js +5 -5
- package/modules/es6.object.get-own-property-descriptor.js +5 -5
- package/modules/es6.object.get-own-property-names.js +2 -2
- package/modules/es6.object.get-prototype-of.js +5 -5
- package/modules/es6.object.is-extensible.js +3 -3
- package/modules/es6.object.is-frozen.js +3 -3
- package/modules/es6.object.is-sealed.js +3 -3
- package/modules/es6.object.is.js +1 -1
- package/modules/es6.object.keys.js +5 -5
- package/modules/es6.object.prevent-extensions.js +5 -5
- package/modules/es6.object.seal.js +5 -5
- package/modules/es6.object.set-prototype-of.js +1 -1
- package/modules/es6.object.to-string.js +5 -5
- package/modules/es6.parse-float.js +4 -4
- package/modules/es6.parse-int.js +4 -4
- package/modules/es6.promise.js +146 -159
- package/modules/es6.reflect.apply.js +14 -7
- package/modules/es6.reflect.construct.js +29 -20
- package/modules/es6.reflect.define-property.js +10 -9
- package/modules/es6.reflect.delete-property.js +5 -5
- package/modules/es6.reflect.enumerate.js +15 -15
- package/modules/es6.reflect.get-own-property-descriptor.js +5 -5
- package/modules/es6.reflect.get-prototype-of.js +5 -5
- package/modules/es6.reflect.get.js +13 -13
- package/modules/es6.reflect.has.js +2 -2
- package/modules/es6.reflect.is-extensible.js +5 -5
- package/modules/es6.reflect.own-keys.js +1 -1
- package/modules/es6.reflect.prevent-extensions.js +7 -7
- package/modules/es6.reflect.set-prototype-of.js +6 -6
- package/modules/es6.reflect.set.js +17 -17
- package/modules/es6.regexp.constructor.js +24 -24
- package/modules/es6.regexp.flags.js +2 -2
- package/modules/es6.regexp.match.js +5 -5
- package/modules/es6.regexp.replace.js +5 -5
- package/modules/es6.regexp.search.js +5 -5
- package/modules/es6.regexp.split.js +29 -28
- package/modules/es6.regexp.to-string.js +25 -25
- package/modules/es6.set.js +7 -5
- package/modules/es6.string.anchor.js +4 -4
- package/modules/es6.string.big.js +4 -4
- package/modules/es6.string.blink.js +4 -4
- package/modules/es6.string.bold.js +4 -4
- package/modules/es6.string.code-point-at.js +4 -4
- package/modules/es6.string.ends-with.js +12 -12
- package/modules/es6.string.fixed.js +4 -4
- package/modules/es6.string.fontcolor.js +4 -4
- package/modules/es6.string.fontsize.js +4 -4
- package/modules/es6.string.from-code-point.js +12 -12
- package/modules/es6.string.includes.js +5 -5
- package/modules/es6.string.italics.js +4 -4
- package/modules/es6.string.iterator.js +9 -9
- package/modules/es6.string.link.js +4 -4
- package/modules/es6.string.raw.js +12 -12
- package/modules/es6.string.repeat.js +1 -1
- package/modules/es6.string.small.js +4 -4
- package/modules/es6.string.starts-with.js +10 -10
- package/modules/es6.string.strike.js +4 -4
- package/modules/es6.string.sub.js +4 -4
- package/modules/es6.string.sup.js +4 -4
- package/modules/es6.string.trim.js +3 -3
- package/modules/es6.symbol.js +143 -143
- package/modules/es6.typed.array-buffer.js +29 -30
- package/modules/es6.typed.data-view.js +1 -1
- package/modules/es6.typed.float32-array.js +3 -3
- package/modules/es6.typed.float64-array.js +3 -3
- package/modules/es6.typed.int16-array.js +3 -3
- package/modules/es6.typed.int32-array.js +3 -3
- package/modules/es6.typed.int8-array.js +3 -3
- package/modules/es6.typed.uint16-array.js +3 -3
- package/modules/es6.typed.uint32-array.js +3 -3
- package/modules/es6.typed.uint8-array.js +3 -3
- package/modules/es6.typed.uint8-clamped-array.js +3 -3
- package/modules/es6.weak-map.js +31 -29
- package/modules/es6.weak-set.js +7 -5
- package/modules/es7.array.flat-map.js +22 -0
- package/modules/es7.array.flatten.js +21 -0
- package/modules/es7.array.includes.js +4 -4
- package/modules/es7.asap.js +12 -0
- package/modules/es7.error.is-error.js +4 -4
- package/modules/es7.global.js +4 -0
- package/modules/es7.map.from.js +2 -0
- package/modules/es7.map.of.js +2 -0
- package/modules/es7.map.to-json.js +2 -2
- package/modules/es7.math.clamp.js +8 -0
- package/modules/es7.math.deg-per-rad.js +4 -0
- package/modules/es7.math.degrees.js +9 -0
- package/modules/es7.math.fscale.js +10 -0
- package/modules/es7.math.iaddh.js +5 -5
- package/modules/es7.math.imulh.js +10 -10
- package/modules/es7.math.isubh.js +5 -5
- package/modules/es7.math.rad-per-deg.js +4 -0
- package/modules/es7.math.radians.js +9 -0
- package/modules/es7.math.scale.js +4 -0
- package/modules/es7.math.signbit.js +7 -0
- package/modules/es7.math.umulh.js +10 -10
- package/modules/es7.object.define-getter.js +12 -12
- package/modules/es7.object.define-setter.js +12 -12
- package/modules/es7.object.entries.js +4 -4
- package/modules/es7.object.get-own-property-descriptors.js +17 -14
- package/modules/es7.object.lookup-getter.js +18 -18
- package/modules/es7.object.lookup-setter.js +18 -18
- package/modules/es7.object.values.js +4 -4
- package/modules/es7.observable.js +199 -0
- package/modules/es7.promise.finally.js +20 -0
- package/modules/es7.promise.try.js +12 -0
- package/modules/es7.reflect.define-metadata.js +6 -6
- package/modules/es7.reflect.delete-metadata.js +11 -11
- package/modules/es7.reflect.get-metadata-keys.js +14 -14
- package/modules/es7.reflect.get-metadata.js +10 -10
- package/modules/es7.reflect.get-own-metadata-keys.js +6 -6
- package/modules/es7.reflect.get-own-metadata.js +6 -6
- package/modules/es7.reflect.has-metadata.js +9 -9
- package/modules/es7.reflect.has-own-metadata.js +6 -6
- package/modules/es7.reflect.metadata.js +8 -8
- package/modules/es7.set.from.js +2 -0
- package/modules/es7.set.of.js +2 -0
- package/modules/es7.set.to-json.js +2 -2
- package/modules/es7.string.at.js +4 -4
- package/modules/es7.string.match-all.js +30 -30
- package/modules/es7.string.pad-end.js +4 -4
- package/modules/es7.string.pad-start.js +4 -4
- package/modules/es7.string.trim-left.js +3 -3
- package/modules/es7.string.trim-right.js +3 -3
- package/modules/es7.symbol.async-iterator.js +1 -0
- package/modules/es7.symbol.observable.js +1 -0
- package/modules/es7.system.global.js +2 -2
- package/modules/es7.weak-map.from.js +2 -0
- package/modules/es7.weak-map.of.js +2 -0
- package/modules/es7.weak-set.from.js +2 -0
- package/modules/es7.weak-set.of.js +2 -0
- package/modules/library/_add-to-unscopables.js +1 -1
- package/modules/library/_collection.js +31 -31
- package/modules/library/_export.js +28 -28
- package/modules/library/_library.js +1 -1
- package/modules/library/_path.js +1 -1
- package/modules/library/_redefine-all.js +4 -4
- package/modules/library/_redefine.js +1 -1
- package/modules/library/_set-species.js +9 -9
- package/modules/library/es6.date.to-json.js +19 -0
- package/modules/library/es6.regexp.constructor.js +1 -1
- package/modules/library/web.dom.iterable.js +16 -10
- package/modules/web.dom.iterable.js +55 -19
- package/modules/web.immediate.js +4 -4
- package/modules/web.timers.js +11 -10
- package/package.json +17 -14
- package/shim.js +26 -1
- package/stage/0.js +2 -1
- package/stage/1.js +22 -4
- package/stage/2.js +4 -1
- package/stage/3.js +4 -6
- package/stage/4.js +6 -1
- package/stage/index.js +1 -1
- package/stage/pre.js +10 -10
- package/web/dom-collections.js +1 -1
- package/web/immediate.js +1 -1
- package/web/index.js +1 -1
- package/web/timers.js +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var addToUnscopables = require('./_add-to-unscopables')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var addToUnscopables = require('./_add-to-unscopables');
|
|
3
|
+
var step = require('./_iter-step');
|
|
4
|
+
var Iterators = require('./_iterators');
|
|
5
|
+
var toIObject = require('./_to-iobject');
|
|
6
6
|
|
|
7
7
|
// 22.1.3.4 Array.prototype.entries()
|
|
8
8
|
// 22.1.3.13 Array.prototype.keys()
|
|
9
9
|
// 22.1.3.29 Array.prototype.values()
|
|
10
10
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
11
|
-
module.exports = require('./_iter-define')(Array, 'Array', function(iterated, kind){
|
|
11
|
+
module.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {
|
|
12
12
|
this._t = toIObject(iterated); // target
|
|
13
13
|
this._i = 0; // next index
|
|
14
14
|
this._k = kind; // kind
|
|
15
15
|
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
|
|
16
|
-
}, function(){
|
|
17
|
-
var O
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
if(!O || index >= O.length){
|
|
16
|
+
}, function () {
|
|
17
|
+
var O = this._t;
|
|
18
|
+
var kind = this._k;
|
|
19
|
+
var index = this._i++;
|
|
20
|
+
if (!O || index >= O.length) {
|
|
21
21
|
this._t = undefined;
|
|
22
22
|
return step(1);
|
|
23
23
|
}
|
|
24
|
-
if(kind == 'keys'
|
|
25
|
-
if(kind == 'values')return step(0, O[index]);
|
|
24
|
+
if (kind == 'keys') return step(0, index);
|
|
25
|
+
if (kind == 'values') return step(0, O[index]);
|
|
26
26
|
return step(0, [index, O[index]]);
|
|
27
27
|
}, 'values');
|
|
28
28
|
|
|
@@ -31,4 +31,4 @@ Iterators.Arguments = Iterators.Array;
|
|
|
31
31
|
|
|
32
32
|
addToUnscopables('keys');
|
|
33
33
|
addToUnscopables('values');
|
|
34
|
-
addToUnscopables('entries');
|
|
34
|
+
addToUnscopables('entries');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
// 22.1.3.13 Array.prototype.join(separator)
|
|
3
|
-
var $export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// fallback for not array-like strings
|
|
8
|
-
$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {
|
|
9
|
-
join: function join(separator){
|
|
10
|
-
return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
|
|
11
|
-
}
|
|
12
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
// 22.1.3.13 Array.prototype.join(separator)
|
|
3
|
+
var $export = require('./_export');
|
|
4
|
+
var toIObject = require('./_to-iobject');
|
|
5
|
+
var arrayJoin = [].join;
|
|
6
|
+
|
|
7
|
+
// fallback for not array-like strings
|
|
8
|
+
$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {
|
|
9
|
+
join: function join(separator) {
|
|
10
|
+
return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
|
|
11
|
+
}
|
|
12
|
+
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {
|
|
10
|
-
// 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
|
|
11
|
-
lastIndexOf: function lastIndexOf(searchElement
|
|
12
|
-
// convert -0 to +0
|
|
13
|
-
if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;
|
|
14
|
-
var O
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));
|
|
18
|
-
if(index < 0)index = length + index;
|
|
19
|
-
for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;
|
|
20
|
-
return -1;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var toIObject = require('./_to-iobject');
|
|
4
|
+
var toInteger = require('./_to-integer');
|
|
5
|
+
var toLength = require('./_to-length');
|
|
6
|
+
var $native = [].lastIndexOf;
|
|
7
|
+
var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
|
|
8
|
+
|
|
9
|
+
$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {
|
|
10
|
+
// 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
|
|
11
|
+
lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
|
|
12
|
+
// convert -0 to +0
|
|
13
|
+
if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
|
|
14
|
+
var O = toIObject(this);
|
|
15
|
+
var length = toLength(O.length);
|
|
16
|
+
var index = length - 1;
|
|
17
|
+
if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));
|
|
18
|
+
if (index < 0) index = length + index;
|
|
19
|
+
for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;
|
|
20
|
+
return -1;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
|
|
6
|
-
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
|
|
7
|
-
map: function map(callbackfn /* , thisArg */){
|
|
8
|
-
return $map(this, callbackfn, arguments[1]);
|
|
9
|
-
}
|
|
10
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $map = require('./_array-methods')(1);
|
|
4
|
+
|
|
5
|
+
$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
|
|
6
|
+
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
|
|
7
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
8
|
+
return $map(this, callbackfn, arguments[1]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var $export
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var createProperty = require('./_create-property');
|
|
4
4
|
|
|
5
5
|
// WebKit Array.of isn't generic
|
|
6
|
-
$export($export.S + $export.F * require('./_fails')(function(){
|
|
7
|
-
function F(){}
|
|
6
|
+
$export($export.S + $export.F * require('./_fails')(function () {
|
|
7
|
+
function F() { /* empty */ }
|
|
8
8
|
return !(Array.of.call(F) instanceof F);
|
|
9
9
|
}), 'Array', {
|
|
10
10
|
// 22.1.2.3 Array.of( ...items)
|
|
11
|
-
of: function of(/* ...args */){
|
|
12
|
-
var index
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
while(aLen > index)createProperty(result, index, arguments[index++]);
|
|
11
|
+
of: function of(/* ...args */) {
|
|
12
|
+
var index = 0;
|
|
13
|
+
var aLen = arguments.length;
|
|
14
|
+
var result = new (typeof this == 'function' ? this : Array)(aLen);
|
|
15
|
+
while (aLen > index) createProperty(result, index, arguments[index++]);
|
|
16
16
|
result.length = aLen;
|
|
17
17
|
return result;
|
|
18
18
|
}
|
|
19
|
-
});
|
|
19
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {
|
|
6
|
-
// 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
|
|
7
|
-
reduceRight: function reduceRight(callbackfn /* , initialValue */){
|
|
8
|
-
return $reduce(this, callbackfn, arguments.length, arguments[1], true);
|
|
9
|
-
}
|
|
10
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $reduce = require('./_array-reduce');
|
|
4
|
+
|
|
5
|
+
$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {
|
|
6
|
+
// 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
|
|
7
|
+
reduceRight: function reduceRight(callbackfn /* , initialValue */) {
|
|
8
|
+
return $reduce(this, callbackfn, arguments.length, arguments[1], true);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {
|
|
6
|
-
// 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
|
|
7
|
-
reduce: function reduce(callbackfn /* , initialValue */){
|
|
8
|
-
return $reduce(this, callbackfn, arguments.length, arguments[1], false);
|
|
9
|
-
}
|
|
10
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $reduce = require('./_array-reduce');
|
|
4
|
+
|
|
5
|
+
$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {
|
|
6
|
+
// 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
|
|
7
|
+
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
8
|
+
return $reduce(this, callbackfn, arguments.length, arguments[1], false);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// fallback for not array-like ES3 strings and DOM objects
|
|
10
|
-
$export($export.P + $export.F * require('./_fails')(function(){
|
|
11
|
-
if(html)arraySlice.call(html);
|
|
12
|
-
}), 'Array', {
|
|
13
|
-
slice: function slice(begin, end){
|
|
14
|
-
var len
|
|
15
|
-
|
|
16
|
-
end = end === undefined ? len : end;
|
|
17
|
-
if(klass == 'Array')return arraySlice.call(this, begin, end);
|
|
18
|
-
var start
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
for(; i < size; i++)cloned[i] = klass == 'String'
|
|
24
|
-
? this.charAt(start + i)
|
|
25
|
-
: this[start + i];
|
|
26
|
-
return cloned;
|
|
27
|
-
}
|
|
28
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var html = require('./_html');
|
|
4
|
+
var cof = require('./_cof');
|
|
5
|
+
var toAbsoluteIndex = require('./_to-absolute-index');
|
|
6
|
+
var toLength = require('./_to-length');
|
|
7
|
+
var arraySlice = [].slice;
|
|
8
|
+
|
|
9
|
+
// fallback for not array-like ES3 strings and DOM objects
|
|
10
|
+
$export($export.P + $export.F * require('./_fails')(function () {
|
|
11
|
+
if (html) arraySlice.call(html);
|
|
12
|
+
}), 'Array', {
|
|
13
|
+
slice: function slice(begin, end) {
|
|
14
|
+
var len = toLength(this.length);
|
|
15
|
+
var klass = cof(this);
|
|
16
|
+
end = end === undefined ? len : end;
|
|
17
|
+
if (klass == 'Array') return arraySlice.call(this, begin, end);
|
|
18
|
+
var start = toAbsoluteIndex(begin, len);
|
|
19
|
+
var upTo = toAbsoluteIndex(end, len);
|
|
20
|
+
var size = toLength(upTo - start);
|
|
21
|
+
var cloned = Array(size);
|
|
22
|
+
var i = 0;
|
|
23
|
+
for (; i < size; i++) cloned[i] = klass == 'String'
|
|
24
|
+
? this.charAt(start + i)
|
|
25
|
+
: this[start + i];
|
|
26
|
+
return cloned;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {
|
|
6
|
-
// 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
|
|
7
|
-
some: function some(callbackfn /* , thisArg */){
|
|
8
|
-
return $some(this, callbackfn, arguments[1]);
|
|
9
|
-
}
|
|
10
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $some = require('./_array-methods')(3);
|
|
4
|
+
|
|
5
|
+
$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {
|
|
6
|
+
// 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
|
|
7
|
+
some: function some(callbackfn /* , thisArg */) {
|
|
8
|
+
return $some(this, callbackfn, arguments[1]);
|
|
9
|
+
}
|
|
10
|
+
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
$export($export.P + $export.F * (fails(function(){
|
|
10
|
-
// IE8-
|
|
11
|
-
test.sort(undefined);
|
|
12
|
-
}) || !fails(function(){
|
|
13
|
-
// V8 bug
|
|
14
|
-
test.sort(null);
|
|
15
|
-
// Old WebKit
|
|
16
|
-
}) || !require('./_strict-method')($sort)), 'Array', {
|
|
17
|
-
// 22.1.3.25 Array.prototype.sort(comparefn)
|
|
18
|
-
sort: function sort(comparefn){
|
|
19
|
-
return comparefn === undefined
|
|
20
|
-
? $sort.call(toObject(this))
|
|
21
|
-
: $sort.call(toObject(this), aFunction(comparefn));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
1
|
+
'use strict';
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var aFunction = require('./_a-function');
|
|
4
|
+
var toObject = require('./_to-object');
|
|
5
|
+
var fails = require('./_fails');
|
|
6
|
+
var $sort = [].sort;
|
|
7
|
+
var test = [1, 2, 3];
|
|
8
|
+
|
|
9
|
+
$export($export.P + $export.F * (fails(function () {
|
|
10
|
+
// IE8-
|
|
11
|
+
test.sort(undefined);
|
|
12
|
+
}) || !fails(function () {
|
|
13
|
+
// V8 bug
|
|
14
|
+
test.sort(null);
|
|
15
|
+
// Old WebKit
|
|
16
|
+
}) || !require('./_strict-method')($sort)), 'Array', {
|
|
17
|
+
// 22.1.3.25 Array.prototype.sort(comparefn)
|
|
18
|
+
sort: function sort(comparefn) {
|
|
19
|
+
return comparefn === undefined
|
|
20
|
+
? $sort.call(toObject(this))
|
|
21
|
+
: $sort.call(toObject(this), aFunction(comparefn));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require('./_set-species')('Array');
|
|
1
|
+
require('./_set-species')('Array');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// 20.3.3.1 / 15.9.4.4 Date.now()
|
|
2
|
-
var $export = require('./_export');
|
|
3
|
-
|
|
4
|
-
$export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});
|
|
1
|
+
// 20.3.3.1 / 15.9.4.4 Date.now()
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
|
|
4
|
+
$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
// PhantomJS / old WebKit has a broken implementations
|
|
12
|
-
$export($export.P + $export.F * (fails(function(){
|
|
13
|
-
return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
|
|
14
|
-
}) || !fails(function(){
|
|
15
|
-
new Date(NaN).toISOString();
|
|
16
|
-
})), 'Date', {
|
|
17
|
-
toISOString: function toISOString(){
|
|
18
|
-
if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');
|
|
19
|
-
var d = this
|
|
20
|
-
, y = d.getUTCFullYear()
|
|
21
|
-
, m = d.getUTCMilliseconds()
|
|
22
|
-
, s = y < 0 ? '-' : y > 9999 ? '+' : '';
|
|
23
|
-
return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
|
|
24
|
-
'-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
|
|
25
|
-
'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
|
|
26
|
-
':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
|
|
27
|
-
}
|
|
28
|
-
});
|
|
1
|
+
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var toISOString = require('./_date-to-iso-string');
|
|
4
|
+
|
|
5
|
+
// PhantomJS / old WebKit has a broken implementations
|
|
6
|
+
$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
|
|
7
|
+
toISOString: toISOString
|
|
8
|
+
});
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var $export
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var toObject = require('./_to-object');
|
|
4
|
+
var toPrimitive = require('./_to-primitive');
|
|
5
|
+
var toISOString = require('./_date-to-iso-string');
|
|
6
|
+
var classof = require('./_classof');
|
|
5
7
|
|
|
6
|
-
$export($export.P + $export.F * require('./_fails')(function(){
|
|
7
|
-
return new Date(NaN).toJSON() !== null
|
|
8
|
+
$export($export.P + $export.F * require('./_fails')(function () {
|
|
9
|
+
return new Date(NaN).toJSON() !== null
|
|
10
|
+
|| Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
|
|
8
11
|
}), 'Date', {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
// eslint-disable-next-line no-unused-vars
|
|
13
|
+
toJSON: function toJSON(key) {
|
|
14
|
+
var O = toObject(this);
|
|
15
|
+
var pv = toPrimitive(O);
|
|
16
|
+
return typeof pv == 'number' && !isFinite(pv) ? null :
|
|
17
|
+
(!('toISOString' in O) && classof(O) == 'Date') ? toISOString.call(O) : O.toISOString();
|
|
13
18
|
}
|
|
14
|
-
});
|
|
19
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
|
|
2
|
-
var $export = require('./_export');
|
|
3
|
-
|
|
4
|
-
$export($export.P, 'Function', {bind: require('./_bind')});
|
|
1
|
+
// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
|
|
4
|
+
$export($export.P, 'Function', { bind: require('./_bind') });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
var isObject
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var isObject = require('./_is-object');
|
|
3
|
+
var getPrototypeOf = require('./_object-gpo');
|
|
4
|
+
var HAS_INSTANCE = require('./_wks')('hasInstance');
|
|
5
|
+
var FunctionProto = Function.prototype;
|
|
6
6
|
// 19.2.3.6 Function.prototype[@@hasInstance](V)
|
|
7
|
-
if(!(HAS_INSTANCE in FunctionProto))require('./_object-dp').f(FunctionProto, HAS_INSTANCE, {value: function(O){
|
|
8
|
-
if(typeof this != 'function' || !isObject(O))return false;
|
|
9
|
-
if(!isObject(this.prototype))return O instanceof this;
|
|
7
|
+
if (!(HAS_INSTANCE in FunctionProto)) require('./_object-dp').f(FunctionProto, HAS_INSTANCE, { value: function (O) {
|
|
8
|
+
if (typeof this != 'function' || !isObject(O)) return false;
|
|
9
|
+
if (!isObject(this.prototype)) return O instanceof this;
|
|
10
10
|
// for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
|
|
11
|
-
while(O = getPrototypeOf(O))if(this.prototype === O)return true;
|
|
11
|
+
while (O = getPrototypeOf(O)) if (this.prototype === O) return true;
|
|
12
12
|
return false;
|
|
13
|
-
}});
|
|
13
|
+
} });
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
var strong = require('./_collection-strong');
|
|
3
|
+
var validate = require('./_validate-collection');
|
|
4
|
+
var MAP = 'Map';
|
|
3
5
|
|
|
4
6
|
// 23.1 Map Objects
|
|
5
|
-
module.exports = require('./_collection')(
|
|
6
|
-
return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
7
|
+
module.exports = require('./_collection')(MAP, function (get) {
|
|
8
|
+
return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
7
9
|
}, {
|
|
8
10
|
// 23.1.3.6 Map.prototype.get(key)
|
|
9
|
-
get: function get(key){
|
|
10
|
-
var entry = strong.getEntry(this, key);
|
|
11
|
+
get: function get(key) {
|
|
12
|
+
var entry = strong.getEntry(validate(this, MAP), key);
|
|
11
13
|
return entry && entry.v;
|
|
12
14
|
},
|
|
13
15
|
// 23.1.3.9 Map.prototype.set(key, value)
|
|
14
|
-
set: function set(key, value){
|
|
15
|
-
return strong.def(this, key === 0 ? 0 : key, value);
|
|
16
|
+
set: function set(key, value) {
|
|
17
|
+
return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);
|
|
16
18
|
}
|
|
17
|
-
}, strong, true);
|
|
19
|
+
}, strong, true);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// 20.2.2.3 Math.acosh(x)
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var log1p = require('./_math-log1p');
|
|
4
|
+
var sqrt = Math.sqrt;
|
|
5
|
+
var $acosh = Math.acosh;
|
|
6
6
|
|
|
7
7
|
$export($export.S + $export.F * !($acosh
|
|
8
8
|
// V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
|
|
9
9
|
&& Math.floor($acosh(Number.MAX_VALUE)) == 710
|
|
10
|
-
// Tor Browser bug: Math.acosh(Infinity) -> NaN
|
|
10
|
+
// Tor Browser bug: Math.acosh(Infinity) -> NaN
|
|
11
11
|
&& $acosh(Infinity) == Infinity
|
|
12
12
|
), 'Math', {
|
|
13
|
-
acosh: function acosh(x){
|
|
13
|
+
acosh: function acosh(x) {
|
|
14
14
|
return (x = +x) < 1 ? NaN : x > 94906265.62425156
|
|
15
15
|
? Math.log(x) + Math.LN2
|
|
16
16
|
: log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
|
|
17
17
|
}
|
|
18
|
-
});
|
|
18
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// 20.2.2.5 Math.asinh(x)
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $asinh = Math.asinh;
|
|
4
4
|
|
|
5
|
-
function asinh(x){
|
|
5
|
+
function asinh(x) {
|
|
6
6
|
return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
// Tor Browser bug: Math.asinh(0) -> -0
|
|
10
|
-
$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});
|
|
9
|
+
// Tor Browser bug: Math.asinh(0) -> -0
|
|
10
|
+
$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// 20.2.2.7 Math.atanh(x)
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $atanh = Math.atanh;
|
|
4
4
|
|
|
5
|
-
// Tor Browser bug: Math.atanh(-0) -> 0
|
|
5
|
+
// Tor Browser bug: Math.atanh(-0) -> 0
|
|
6
6
|
$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
|
|
7
|
-
atanh: function atanh(x){
|
|
7
|
+
atanh: function atanh(x) {
|
|
8
8
|
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
|
|
9
9
|
}
|
|
10
|
-
});
|
|
10
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// 20.2.2.9 Math.cbrt(x)
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var sign = require('./_math-sign');
|
|
4
4
|
|
|
5
5
|
$export($export.S, 'Math', {
|
|
6
|
-
cbrt: function cbrt(x){
|
|
6
|
+
cbrt: function cbrt(x) {
|
|
7
7
|
return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
|
|
8
8
|
}
|
|
9
|
-
});
|
|
9
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// 20.2.2.12 Math.cosh(x)
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var exp = Math.exp;
|
|
4
4
|
|
|
5
5
|
$export($export.S, 'Math', {
|
|
6
|
-
cosh: function cosh(x){
|
|
6
|
+
cosh: function cosh(x) {
|
|
7
7
|
return (exp(x = +x) + exp(-x)) / 2;
|
|
8
8
|
}
|
|
9
|
-
});
|
|
9
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// 20.2.2.14 Math.expm1(x)
|
|
2
|
-
var $export = require('./_export')
|
|
3
|
-
|
|
2
|
+
var $export = require('./_export');
|
|
3
|
+
var $expm1 = require('./_math-expm1');
|
|
4
4
|
|
|
5
|
-
$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});
|
|
5
|
+
$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });
|
|
@@ -1,26 +1,4 @@
|
|
|
1
1
|
// 20.2.2.16 Math.fround(x)
|
|
2
|
-
var $export
|
|
3
|
-
, sign = require('./_math-sign')
|
|
4
|
-
, pow = Math.pow
|
|
5
|
-
, EPSILON = pow(2, -52)
|
|
6
|
-
, EPSILON32 = pow(2, -23)
|
|
7
|
-
, MAX32 = pow(2, 127) * (2 - EPSILON32)
|
|
8
|
-
, MIN32 = pow(2, -126);
|
|
2
|
+
var $export = require('./_export');
|
|
9
3
|
|
|
10
|
-
|
|
11
|
-
return n + 1 / EPSILON - 1 / EPSILON;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$export($export.S, 'Math', {
|
|
16
|
-
fround: function fround(x){
|
|
17
|
-
var $abs = Math.abs(x)
|
|
18
|
-
, $sign = sign(x)
|
|
19
|
-
, a, result;
|
|
20
|
-
if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
|
|
21
|
-
a = (1 + EPSILON32 / EPSILON) * $abs;
|
|
22
|
-
result = a - (a - $abs);
|
|
23
|
-
if(result > MAX32 || result != result)return $sign * Infinity;
|
|
24
|
-
return $sign * result;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
4
|
+
$export($export.S, 'Math', { fround: require('./_math-fround') });
|