* @param {!Array.<*>} array The array to check. * @param {*} item The item to look for in the array. * @return {boolean} True if the item appears in the array.
(array, item)
| 5432 | * @return {boolean} True if the item appears in the array. |
| 5433 | */ |
| 5434 | function includes(array, item) { |
| 5435 | return array.indexOf(item) !== -1; |
| 5436 | } |
| 5437 | |
| 5438 | var floor = Math.floor; |
| 5439 |
no test coverage detected