mozilla-frontend-infra / firefox-health-dashboard

https://firefox-health-dashboard.netlify.com
Mozilla Public License 2.0
26 stars 68 forks source link

simplify expression #702

Closed klahnakoski closed 3 years ago

klahnakoski commented 4 years ago

Replace

`Boolean(meta.extra_options) && meta.extra_options.includes('cold'),`

with

`selectFrom(meta.extra_options).includes('cold')`

(requires enhancement to selectFrom)