includes.js 355 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var includes = function includes(arr, val) {
  7. return arr.some(function (arrVal) {
  8. return val === arrVal;
  9. });
  10. };
  11. var _default = includes;
  12. exports.default = _default;
  13. module.exports = exports.default;
  14. module.exports.default = exports.default;