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. …
DA: 68 PA: 40 MOZ Rank: 53