@antv/util 3.3.0 → 3.3.2
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/dist/color/arr2rgb.d.ts +12 -0
- package/dist/color/gradient.d.ts +6 -0
- package/dist/color/index.d.ts +4 -0
- package/dist/color/rgb2arr.d.ts +6 -0
- package/dist/color/tocssgradient.d.ts +1 -0
- package/dist/color/torgb.d.ts +6 -0
- package/dist/helper/index.d.ts +2 -0
- package/dist/helper/mod.d.ts +1 -0
- package/dist/helper/to-radian.d.ts +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/lodash/augment.d.ts +2 -0
- package/dist/lodash/cache.d.ts +14 -0
- package/dist/lodash/clamp.d.ts +2 -0
- package/dist/lodash/clear-animation-frame.d.ts +1 -0
- package/dist/lodash/clone.d.ts +2 -0
- package/dist/lodash/contains.d.ts +2 -0
- package/dist/lodash/debounce.d.ts +2 -0
- package/dist/lodash/deep-mix.d.ts +2 -0
- package/dist/lodash/difference.d.ts +11 -0
- package/dist/lodash/each.d.ts +2 -0
- package/dist/lodash/ends-with.d.ts +3 -0
- package/dist/lodash/every.d.ts +7 -0
- package/dist/lodash/extend.d.ts +2 -0
- package/dist/lodash/filter.d.ts +2 -0
- package/dist/lodash/find-index.d.ts +2 -0
- package/dist/lodash/find.d.ts +3 -0
- package/dist/lodash/first-value.d.ts +2 -0
- package/dist/lodash/fixed-base.d.ts +2 -0
- package/dist/lodash/flatten-deep.d.ts +12 -0
- package/dist/lodash/flatten.d.ts +11 -0
- package/dist/lodash/for-in.d.ts +2 -0
- package/dist/lodash/get-range.d.ts +6 -0
- package/dist/lodash/get-type.d.ts +2 -0
- package/dist/lodash/get-wrap-behavior.d.ts +9 -0
- package/dist/lodash/get.d.ts +8 -0
- package/dist/lodash/group-by.d.ts +6 -0
- package/dist/lodash/group-to-map.d.ts +8 -0
- package/dist/lodash/group.d.ts +2 -0
- package/dist/lodash/has-key.d.ts +2 -0
- package/dist/lodash/has-value.d.ts +2 -0
- package/dist/lodash/has.d.ts +2 -0
- package/dist/lodash/head.d.ts +1 -0
- package/dist/lodash/identity.d.ts +2 -0
- package/dist/lodash/index-of.d.ts +2 -0
- package/dist/lodash/index.d.ts +108 -0
- package/dist/lodash/is-arguments.d.ts +2 -0
- package/dist/lodash/is-array-like.d.ts +2 -0
- package/dist/lodash/is-array.d.ts +2 -0
- package/dist/lodash/is-boolean.d.ts +2 -0
- package/dist/lodash/is-date.d.ts +2 -0
- package/dist/lodash/is-decimal.d.ts +2 -0
- package/dist/lodash/is-element.d.ts +6 -0
- package/dist/lodash/is-empty.d.ts +2 -0
- package/dist/lodash/is-equal-with.d.ts +24 -0
- package/dist/lodash/is-equal.d.ts +2 -0
- package/dist/lodash/is-error.d.ts +2 -0
- package/dist/lodash/is-even.d.ts +2 -0
- package/dist/lodash/is-finite.d.ts +1 -0
- package/dist/lodash/is-function.d.ts +5 -0
- package/dist/lodash/is-integer.d.ts +2 -0
- package/dist/lodash/is-match.d.ts +2 -0
- package/dist/lodash/is-negative.d.ts +2 -0
- package/dist/lodash/is-nil.d.ts +2 -0
- package/dist/lodash/is-null.d.ts +2 -0
- package/dist/lodash/is-number-equal.d.ts +1 -0
- package/dist/lodash/is-number.d.ts +2 -0
- package/dist/lodash/is-object-like.d.ts +2 -0
- package/dist/lodash/is-object.d.ts +2 -0
- package/dist/lodash/is-odd.d.ts +2 -0
- package/dist/lodash/is-plain-object.d.ts +2 -0
- package/dist/lodash/is-positive.d.ts +2 -0
- package/dist/lodash/is-prototype.d.ts +2 -0
- package/dist/lodash/is-reg-exp.d.ts +2 -0
- package/dist/lodash/is-segment-equal.d.ts +2 -0
- package/dist/lodash/is-string.d.ts +2 -0
- package/dist/lodash/is-type.d.ts +2 -0
- package/dist/lodash/is-undefined.d.ts +2 -0
- package/dist/lodash/keys.d.ts +2 -0
- package/dist/lodash/last.d.ts +1 -0
- package/dist/lodash/lower-case.d.ts +2 -0
- package/dist/lodash/lower-first.d.ts +2 -0
- package/dist/lodash/map-values.d.ts +6 -0
- package/dist/lodash/map.d.ts +2 -0
- package/dist/lodash/max-by.d.ts +16 -0
- package/dist/lodash/max.d.ts +19 -0
- package/dist/lodash/memoize.d.ts +11 -0
- package/dist/lodash/merge.d.ts +7 -0
- package/dist/lodash/min-by.d.ts +16 -0
- package/dist/lodash/min.d.ts +19 -0
- package/dist/lodash/mix.d.ts +1 -0
- package/dist/lodash/mod.d.ts +2 -0
- package/dist/lodash/noop.d.ts +2 -0
- package/dist/lodash/number2color.d.ts +2 -0
- package/dist/lodash/omit.d.ts +3 -0
- package/dist/lodash/parse-radius.d.ts +9 -0
- package/dist/lodash/pick.d.ts +16 -0
- package/dist/lodash/pull-at.d.ts +2 -0
- package/dist/lodash/pull.d.ts +2 -0
- package/dist/lodash/reduce.d.ts +3 -0
- package/dist/lodash/remove.d.ts +2 -0
- package/dist/lodash/request-animation-frame.d.ts +1 -0
- package/dist/lodash/set.d.ts +8 -0
- package/dist/lodash/size.d.ts +1 -0
- package/dist/lodash/some.d.ts +7 -0
- package/dist/lodash/sort-by.d.ts +7 -0
- package/dist/lodash/starts-with.d.ts +3 -0
- package/dist/lodash/substitute.d.ts +5 -0
- package/dist/lodash/throttle.d.ts +6 -0
- package/dist/lodash/to-array.d.ts +2 -0
- package/dist/lodash/to-degree.d.ts +2 -0
- package/dist/lodash/to-integer.d.ts +1 -0
- package/dist/lodash/to-radian.d.ts +2 -0
- package/dist/lodash/to-string.d.ts +2 -0
- package/dist/lodash/types/index.d.ts +3 -0
- package/dist/lodash/union.d.ts +2 -0
- package/dist/lodash/uniq.d.ts +1 -0
- package/dist/lodash/unique-id.d.ts +2 -0
- package/dist/lodash/upper-case.d.ts +2 -0
- package/dist/lodash/upper-first.d.ts +2 -0
- package/dist/lodash/values-of-key.d.ts +2 -0
- package/dist/lodash/values.d.ts +2 -0
- package/dist/lodash/wrap-behavior.d.ts +9 -0
- package/dist/math/index.d.ts +2 -0
- package/dist/math/is-point-in-polygon.d.ts +1 -0
- package/dist/math/is-polygons-intersect.d.ts +4 -0
- package/dist/matrix/index.d.ts +27 -0
- package/dist/path/convert/path-2-absolute.d.ts +2 -0
- package/dist/path/convert/path-2-curve.d.ts +2 -0
- package/dist/path/convert/path-2-string.d.ts +6 -0
- package/dist/path/index.d.ts +18 -0
- package/dist/path/parser/finalize-segment.d.ts +5 -0
- package/dist/path/parser/is-arc-command.d.ts +4 -0
- package/dist/path/parser/is-digit-start.d.ts +6 -0
- package/dist/path/parser/is-path-command.d.ts +4 -0
- package/dist/path/parser/is-space.d.ts +4 -0
- package/dist/path/parser/params-count.d.ts +13 -0
- package/dist/path/parser/params-parser.d.ts +10 -0
- package/dist/path/parser/parse-path-string.d.ts +6 -0
- package/dist/path/parser/path-parser.d.ts +16 -0
- package/dist/path/parser/scan-flag.d.ts +6 -0
- package/dist/path/parser/scan-param.d.ts +6 -0
- package/dist/path/parser/scan-segment.d.ts +6 -0
- package/dist/path/parser/skip-spaces.d.ts +7 -0
- package/dist/path/process/arc-2-cubic.d.ts +7 -0
- package/dist/path/process/clone-path.d.ts +2 -0
- package/dist/path/process/fix-arc.d.ts +2 -0
- package/dist/path/process/line-2-cubic.d.ts +1 -0
- package/dist/path/process/normalize-path.d.ts +8 -0
- package/dist/path/process/normalize-segment.d.ts +6 -0
- package/dist/path/process/quad-2-cubic.d.ts +1 -0
- package/dist/path/process/reverse-curve.d.ts +2 -0
- package/dist/path/process/round-path.d.ts +6 -0
- package/dist/path/process/segment-2-cubic.d.ts +2 -0
- package/dist/path/types.d.ts +127 -0
- package/dist/path/util/distance-square-root.d.ts +1 -0
- package/dist/path/util/equalize-segments.d.ts +2 -0
- package/dist/path/util/get-draw-direction.d.ts +2 -0
- package/dist/path/util/get-path-area.d.ts +8 -0
- package/dist/path/util/get-path-bbox-total-length.d.ts +5 -0
- package/dist/path/util/get-path-bbox.d.ts +5 -0
- package/dist/path/util/get-point-at-length.d.ts +5 -0
- package/dist/path/util/get-properties-at-length.d.ts +6 -0
- package/dist/path/util/get-properties-at-point.d.ts +7 -0
- package/dist/path/util/get-rotated-curve.d.ts +2 -0
- package/dist/path/util/get-total-length.d.ts +8 -0
- package/dist/path/util/is-absolute-array.d.ts +6 -0
- package/dist/path/util/is-curve-array.d.ts +9 -0
- package/dist/path/util/is-normalized-array.d.ts +7 -0
- package/dist/path/util/is-path-array.d.ts +5 -0
- package/dist/path/util/is-point-in-stroke.d.ts +5 -0
- package/dist/path/util/mid-point.d.ts +1 -0
- package/dist/path/util/path-length-factory.d.ts +7 -0
- package/dist/path/util/rotate-vector.d.ts +4 -0
- package/dist/path/util/segment-arc-factory.d.ts +8 -0
- package/dist/path/util/segment-cubic-factory.d.ts +6 -0
- package/dist/path/util/segment-line-factory.d.ts +6 -0
- package/dist/path/util/segment-quad-factory.d.ts +6 -0
- package/dist/util.min.js +1 -1
- package/esm/path/index.d.ts +1 -0
- package/esm/path/index.js +1 -0
- package/esm/path/index.js.map +1 -1
- package/lib/path/index.d.ts +1 -0
- package/lib/path/index.js +3 -1
- package/lib/path/index.js.map +1 -1
- package/package.json +2 -5
- package/src/path/index.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toCSSGradient(gradientColor: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function mod(n: number, m: number): number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function toRadian(degree: number): number;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* k-v 存储
|
|
3
|
+
*/
|
|
4
|
+
export default class<T> {
|
|
5
|
+
map: {
|
|
6
|
+
[key: string]: T;
|
|
7
|
+
};
|
|
8
|
+
has(key: string): boolean;
|
|
9
|
+
get(key: string, def?: T): T | undefined;
|
|
10
|
+
set(key: string, value: T): void;
|
|
11
|
+
clear(): void;
|
|
12
|
+
delete(key: string): void;
|
|
13
|
+
size(): number;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function cancelAnimationFrame(handler: number): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flattens `array` a single level deep.
|
|
3
|
+
*
|
|
4
|
+
* @param {Array} arr The array to inspect.
|
|
5
|
+
* @param {Array} values The values to exclude.
|
|
6
|
+
* @return {Array} Returns the new array of filtered values.
|
|
7
|
+
* @example
|
|
8
|
+
* difference([2, 1], [2, 3]); // => [1]
|
|
9
|
+
*/
|
|
10
|
+
declare const difference: <T>(arr: T[], values?: T[]) => T[];
|
|
11
|
+
export default difference;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flattens `array` a single level deep.
|
|
3
|
+
*
|
|
4
|
+
* @param {Array} arr The array to flatten.
|
|
5
|
+
* @param {Array} result The array to return.
|
|
6
|
+
* @return {Array} Returns the new flattened array.
|
|
7
|
+
* @example
|
|
8
|
+
*
|
|
9
|
+
* flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
|
|
10
|
+
*/
|
|
11
|
+
declare const flattenDeep: (arr: any[], result?: any[]) => any[];
|
|
12
|
+
export default flattenDeep;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flattens `array` a single level deep.
|
|
3
|
+
*
|
|
4
|
+
* @param {Array} arr The array to flatten.
|
|
5
|
+
* @return {Array} Returns the new flattened array.
|
|
6
|
+
* @example
|
|
7
|
+
*
|
|
8
|
+
* flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]
|
|
9
|
+
*/
|
|
10
|
+
declare const flatten: <T>(arr: T[]) => T[];
|
|
11
|
+
export default flatten;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function head(o: unknown): any;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export { default as contains, default as includes } from './contains';
|
|
2
|
+
export { default as difference } from './difference';
|
|
3
|
+
export { default as find } from './find';
|
|
4
|
+
export { default as findIndex } from './find-index';
|
|
5
|
+
export { default as firstValue } from './first-value';
|
|
6
|
+
export { default as flatten } from './flatten';
|
|
7
|
+
export { default as flattenDeep } from './flatten-deep';
|
|
8
|
+
export { default as getRange } from './get-range';
|
|
9
|
+
export { default as pull } from './pull';
|
|
10
|
+
export { default as pullAt } from './pull-at';
|
|
11
|
+
export { default as reduce } from './reduce';
|
|
12
|
+
export { default as remove } from './remove';
|
|
13
|
+
export { default as sortBy } from './sort-by';
|
|
14
|
+
export { default as union } from './union';
|
|
15
|
+
export { default as uniq } from './uniq';
|
|
16
|
+
export { default as valuesOfKey } from './values-of-key';
|
|
17
|
+
export { default as head } from './head';
|
|
18
|
+
export { default as last } from './last';
|
|
19
|
+
export { default as startsWith } from './starts-with';
|
|
20
|
+
export { default as endsWith } from './ends-with';
|
|
21
|
+
export { default as filter } from './filter';
|
|
22
|
+
export { default as every } from './every';
|
|
23
|
+
export { default as some } from './some';
|
|
24
|
+
export { default as group } from './group';
|
|
25
|
+
export { default as groupBy } from './group-by';
|
|
26
|
+
export { default as groupToMap } from './group-to-map';
|
|
27
|
+
export { default as getWrapBehavior } from './get-wrap-behavior';
|
|
28
|
+
export { default as wrapBehavior } from './wrap-behavior';
|
|
29
|
+
export { default as number2color } from './number2color';
|
|
30
|
+
export { default as parseRadius } from './parse-radius';
|
|
31
|
+
export { default as clamp } from './clamp';
|
|
32
|
+
export { default as fixedBase } from './fixed-base';
|
|
33
|
+
export { default as isDecimal } from './is-decimal';
|
|
34
|
+
export { default as isEven } from './is-even';
|
|
35
|
+
export { default as isInteger } from './is-integer';
|
|
36
|
+
export { default as isNegative } from './is-negative';
|
|
37
|
+
export { default as isNumberEqual } from './is-number-equal';
|
|
38
|
+
export { default as isOdd } from './is-odd';
|
|
39
|
+
export { default as isPositive } from './is-positive';
|
|
40
|
+
export { default as max } from './max';
|
|
41
|
+
export { default as maxBy } from './max-by';
|
|
42
|
+
export { default as min } from './min';
|
|
43
|
+
export { default as minBy } from './min-by';
|
|
44
|
+
export { default as mod } from './mod';
|
|
45
|
+
export { default as toDegree } from './to-degree';
|
|
46
|
+
export { default as toInteger } from './to-integer';
|
|
47
|
+
export { default as toRadian } from './to-radian';
|
|
48
|
+
export { default as forIn } from './for-in';
|
|
49
|
+
export { default as has } from './has';
|
|
50
|
+
export { default as hasKey } from './has-key';
|
|
51
|
+
export { default as hasValue } from './has-value';
|
|
52
|
+
export { default as keys } from './keys';
|
|
53
|
+
export { default as isMatch } from './is-match';
|
|
54
|
+
export { default as values } from './values';
|
|
55
|
+
export { default as lowerCase } from './lower-case';
|
|
56
|
+
export { default as lowerFirst } from './lower-first';
|
|
57
|
+
export { default as substitute } from './substitute';
|
|
58
|
+
export { default as upperCase } from './upper-case';
|
|
59
|
+
export { default as upperFirst } from './upper-first';
|
|
60
|
+
export { default as getType } from './get-type';
|
|
61
|
+
export { default as isArguments } from './is-arguments';
|
|
62
|
+
export { default as isArray } from './is-array';
|
|
63
|
+
export { default as isArrayLike } from './is-array-like';
|
|
64
|
+
export { default as isBoolean } from './is-boolean';
|
|
65
|
+
export { default as isDate } from './is-date';
|
|
66
|
+
export { default as isError } from './is-error';
|
|
67
|
+
export { default as isFunction } from './is-function';
|
|
68
|
+
export { default as isFinite } from './is-finite';
|
|
69
|
+
export { default as isNil } from './is-nil';
|
|
70
|
+
export { default as isNull } from './is-null';
|
|
71
|
+
export { default as isNumber } from './is-number';
|
|
72
|
+
export { default as isObject } from './is-object';
|
|
73
|
+
export { default as isObjectLike } from './is-object-like';
|
|
74
|
+
export { default as isPlainObject } from './is-plain-object';
|
|
75
|
+
export { default as isPrototype } from './is-prototype';
|
|
76
|
+
export { default as isRegExp } from './is-reg-exp';
|
|
77
|
+
export { default as isString } from './is-string';
|
|
78
|
+
export { default as isType } from './is-type';
|
|
79
|
+
export { default as isUndefined } from './is-undefined';
|
|
80
|
+
export { default as isElement } from './is-element';
|
|
81
|
+
export { default as requestAnimationFrame } from './request-animation-frame';
|
|
82
|
+
export { default as clearAnimationFrame } from './clear-animation-frame';
|
|
83
|
+
export { default as augment } from './augment';
|
|
84
|
+
export { default as clone } from './clone';
|
|
85
|
+
export { default as debounce } from './debounce';
|
|
86
|
+
export { default as memoize } from './memoize';
|
|
87
|
+
export { default as deepMix } from './deep-mix';
|
|
88
|
+
export { default as each } from './each';
|
|
89
|
+
export { default as extend } from './extend';
|
|
90
|
+
export { default as indexOf } from './index-of';
|
|
91
|
+
export { default as isEmpty } from './is-empty';
|
|
92
|
+
export { default as isEqual } from './is-equal';
|
|
93
|
+
export { default as isEqualWith } from './is-equal-with';
|
|
94
|
+
export { default as map } from './map';
|
|
95
|
+
export { default as mapValues } from './map-values';
|
|
96
|
+
export { default as mix, default as assign } from './mix';
|
|
97
|
+
export { default as get } from './get';
|
|
98
|
+
export { default as set } from './set';
|
|
99
|
+
export { default as pick } from './pick';
|
|
100
|
+
export { default as omit } from './omit';
|
|
101
|
+
export { default as throttle } from './throttle';
|
|
102
|
+
export { default as toArray } from './to-array';
|
|
103
|
+
export { default as toString } from './to-string';
|
|
104
|
+
export { default as uniqueId } from './unique-id';
|
|
105
|
+
export { default as noop } from './noop';
|
|
106
|
+
export { default as identity } from './identity';
|
|
107
|
+
export { default as size } from './size';
|
|
108
|
+
export { default as Cache } from './cache';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: <T>(value: T, other: T, fn: (v1: T, v2: T) => boolean) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* @param {*} value The value to compare.
|
|
4
|
+
* @param {*} other The other value to compare.
|
|
5
|
+
* @param {Function} [fn] The function to customize comparisons.
|
|
6
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
7
|
+
* @example
|
|
8
|
+
*
|
|
9
|
+
* function isGreeting(value) {
|
|
10
|
+
* return /^h(?:i|ello)$/.test(value);
|
|
11
|
+
* }
|
|
12
|
+
*
|
|
13
|
+
* function customizer(objValue, othValue) {
|
|
14
|
+
* if (isGreeting(objValue) && isGreeting(othValue)) {
|
|
15
|
+
* return true;
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* var array = ['hello', 'goodbye'];
|
|
20
|
+
* var other = ['hi', 'goodbye'];
|
|
21
|
+
*
|
|
22
|
+
* isEqualWith(array, other, customizer); // => true
|
|
23
|
+
*/
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (value: any): value is number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function isNumberEqual(a: number, b: number, precision?: number): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function last(o: unknown): any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: <T>(arr: T[], fn: string | ((v: T) => number)) => T;
|
|
2
|
+
/**
|
|
3
|
+
* @param {Array} arr The array to iterate over.
|
|
4
|
+
* @param {Function} [fn] The iteratee invoked per element.
|
|
5
|
+
* @return {*} Returns the maximum value.
|
|
6
|
+
* @example
|
|
7
|
+
*
|
|
8
|
+
* var objects = [{ 'n': 1 }, { 'n': 2 }];
|
|
9
|
+
*
|
|
10
|
+
* maxBy(objects, function(o) { return o.n; });
|
|
11
|
+
* // => { 'n': 2 }
|
|
12
|
+
*
|
|
13
|
+
* maxBy(objects, 'n');
|
|
14
|
+
* // => { 'n': 2 }
|
|
15
|
+
*/
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: (arr: number[]) => number | undefined;
|
|
2
|
+
/**
|
|
3
|
+
* @param {Array} arr The array to iterate over.
|
|
4
|
+
* @return {*} Returns the maximum value.
|
|
5
|
+
* @example
|
|
6
|
+
*
|
|
7
|
+
* max([1, 2]);
|
|
8
|
+
* // => 2
|
|
9
|
+
*
|
|
10
|
+
* max([]);
|
|
11
|
+
* // => undefined
|
|
12
|
+
*
|
|
13
|
+
* const data = new Array(1250010).fill(1).map((d,idx) => idx);
|
|
14
|
+
*
|
|
15
|
+
* max(data);
|
|
16
|
+
* // => 1250010
|
|
17
|
+
* // Math.max(...data) will encounter "Maximum call stack size exceeded" error
|
|
18
|
+
*/
|
|
19
|
+
export default _default;
|