|
|
@ -675,7 +675,7 @@ const products = [
|
|
|
|
console.log('Sum: ', statistics.sum()) // 744
|
|
|
|
console.log('Sum: ', statistics.sum()) // 744
|
|
|
|
console.log('Min: ', statistics.min()) // 24
|
|
|
|
console.log('Min: ', statistics.min()) // 24
|
|
|
|
console.log('Max: ', statistics.max()) // 38
|
|
|
|
console.log('Max: ', statistics.max()) // 38
|
|
|
|
console.log('Range: ', statistics.range() // 14
|
|
|
|
console.log('Range: ', statistics.range()) // 14
|
|
|
|
console.log('Mean: ', statistics.mean()) // 30
|
|
|
|
console.log('Mean: ', statistics.mean()) // 30
|
|
|
|
console.log('Median: ',statistics.median()) // 29
|
|
|
|
console.log('Median: ',statistics.median()) // 29
|
|
|
|
console.log('Mode: ', statistics.mode()) // {'mode': 26, 'count': 5}
|
|
|
|
console.log('Mode: ', statistics.mode()) // {'mode': 26, 'count': 5}
|
|
|
|