Skip to content

Commit

Permalink
Comments added
Browse files Browse the repository at this point in the history
  • Loading branch information
in0068 committed Apr 7, 2021
1 parent 6e3baf2 commit ca454d9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/avg.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import isArrayLike from './_isArrayLike.js';
import values from './values.js';
import sum from './sum.js'

// Return the maximum element (or element-based computation).
// Return the average element (or element-based computation).
export default function mean(obj, iteratee, context) {
if (!iteratee && _.isEmpty(obj)){
return 0;
Expand Down
2 changes: 1 addition & 1 deletion modules/median.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import each from './each.js';
import clone from './clone.js'
import isNumber from './isNumber.js'

// Return the maximum element (or element-based computation).
// Return the median element (or element-based computation).
export default function median(obj, iteratee, context) {
if (!iteratee && _.isEmpty(obj)){
return 0;
Expand Down
2 changes: 1 addition & 1 deletion modules/mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import isArrayLike from './_isArrayLike.js';
import values from './values.js';
import sortBy from './sortBy.js'

// Return the maximum element (or element-based computation).
// Return the mode element (or element-based computation).
export default function mode(obj, iteratee, context) {
if (!iteratee && _.isEmpty(obj)){
return 0;
Expand Down
2 changes: 1 addition & 1 deletion modules/standardDeviation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import isArrayLike from './_isArrayLike.js';
import values from './values.js';
import variance from './variance.js'

// Return the maximum element (or element-based computation).
// Return the standardDeviation element (or element-based computation).
export default function standardDeviation(obj, iteratee, context) {
if (!iteratee && _.isEmpty(obj)){
return 0;
Expand Down
2 changes: 1 addition & 1 deletion modules/variance.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import cb from './_cb.js';
import each from './each.js';
import mean from './avg.js'

// Return the maximum element (or element-based computation).
// Return the variance element (or element-based computation).
export default function variance(obj, iteratee, context) {
if (!iteratee && _.isEmpty(obj)){
return 0;
Expand Down

0 comments on commit ca454d9

Please sign in to comment.