0.0.25 • Published 5 years ago
@extra-math/mode.min v0.0.25
Gives the values that appear most often.
This is part of package extra-math.
This is browserified, minified version of @extra-math/mode. It is exported as global variable math_mode. CDN: unpkg, jsDelivr.
math.mode(...n);
// n: a list of numbers
const math = require('extra-math');
math.mode(1, 2);
// [1, 2]
math.mode(1, 2, 2);
// [2]
math.mode(1, 2, 2, 3, 3);
// [2, 3]
references
0.0.25
5 years ago