News for hackers. Stuff that matters.
Re:ES7 brings two new features by devmunchies on Saturday October 14, 2017 @11:16AM (#15472523)
`.includes()` is used in lodash so lots of JavaScript developers are already used to that anyway.
Re:ES7 brings two new features by Macha on Saturday October 14, 2017 @12:38PM (#15472937)
Lodash 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