Version 1
[yaffs-website] / node_modules / core-js / library / modules / es7.array.includes.js
1 'use strict';
2 // https://github.com/tc39/Array.prototype.includes
3 var $export   = require('./_export')
4   , $includes = require('./_array-includes')(true);
5
6 $export($export.P, 'Array', {
7   includes: function includes(el /*, fromIndex = 0 */){
8     return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
9   }
10 });
11
12 require('./_add-to-unscopables')('includes');