Closed Bug 1468161 Opened 6 years ago Closed 6 years ago

Convert lodash .min() to native ES6 JS

Categories

(Tree Management :: Treeherder: Frontend, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evct, Assigned: SirR4T, Mentored)

References

Details

Attachments

(1 file)

Converting all _.min() (lodash) functions to Math.min() (ES6 JS)
Assignee: nobody → oss
Blocks: 1466494
Status: NEW → ASSIGNED
Priority: -- → P3
Needs review.

Used

    Math.min.apply(null, arg)

instead of

    _.min(arg)

, since only the minimum values were being used in string concatenation. No issue of Date objects here.
Assignee: oss → sarat.addepalli
Attachment #8996630 - Flags: review?(cdawson)
Attachment #8996630 - Flags: review?(cdawson) → review+
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: