Closed Bug 1425034 Opened 7 years ago Closed 5 years ago

'identity' is undefined in WebsiteMetadata.jsm / max()

Categories

(Firefox for Android Graveyard :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: standard8, Unassigned)

References

Details

WebsiteMetadata.jsm currently has: ``` // const {max} = require('./utils'); function max(iterable, by = identity) { return best(iterable, by, (a, b) => a > b); } ``` However, `identity` is undefined according to ESLint, and I can't find any references for it. It looks like this was added in bug 1301715.
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5

Bug 1610641 has just removed this file.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.