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)
Firefox for Android Graveyard
General
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.
Priority: -- → P3
Comment 1•6 years ago
|
||
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
Reporter | ||
Comment 2•5 years ago
|
||
Bug 1610641 has just removed this file.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•