Array.prototype.includes() - JavaScript | MDN
http://devdoc.net/web/developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes.html
WEBMay 26, 2017 · The includes() method determines whether an array includes a certain element, returning true or false as appropriate. var a = [1, 2, 3]; a.includes(2); // true a.includes(4); // false Syntax arr.includes(searchElement) arr.includes(searchElement, fromIndex) Parameters searchElement The element to search for. fromIndex Optional
DA: 66 PA: 59 MOZ Rank: 43