2 ms·
`.includes()` is used in lodash so lots of JavaScript developers are already used to that anyway.
by devmunchies 9y ago
`.includes()` is used in lodash so lots of JavaScript developers are already used to that anyway.
- Macha 9y agoLodash switched to using includes when it became clear the standard was going to use includes. See e.g. Lodash 2 docs which had contains as the standard name, and `include` as the alias: https://lodash.com/docs/2.4.2#contains https://lodash.com/docs/2.4.2#contains