Returns the mode (the most recurring value) of an array.
The array
const result = Chalkboard.stat.mode([1, 2, 2, 3, 3, 3]); // Returns 3 Copy
const result = Chalkboard.stat.mode([1, 2, 2, 3, 3, 3]); // Returns 3
Returns the mode (the most recurring value) of an array.