├── .gitignore ├── .travis.yml ├── LICENSE.txt ├── README.md ├── deploy.sh ├── package.json ├── reference-implementation ├── README.md └── index.js ├── spec.html └── test └── built-ins ├── Array └── prototype │ └── includes │ ├── README.md │ ├── adding-getter.js │ ├── array-like.js │ ├── exception-bad-this.js │ ├── exception-before-match.js │ ├── exception-from-index-symbol.js │ ├── exception-from-index-throwing-value-of.js │ ├── exception-get-length.js │ ├── exception-to-length-symbol.js │ ├── exception-to-length-throwing-value-of.js │ ├── from-index-default.js │ ├── from-index-greater-equal-length.js │ ├── from-index-negative-computed-index.js │ ├── from-index-negative-value.js │ ├── from-index-to-integer.js │ ├── function-length.js │ ├── function-name.js │ ├── function-property-descriptor.js │ ├── holes-with-prototype.js │ ├── holes.js │ ├── length-from-prototype.js │ ├── length-missing.js │ ├── length-negative.js │ ├── length-positive.js │ ├── length-zero.js │ ├── mutate-global-number.js │ ├── mutate-global-object.js │ ├── number-this-strict.js │ ├── number-this.js │ ├── object-elements.js │ ├── removing-getter.js │ ├── same-value-zero.js │ ├── stops-at-length.js │ └── typed-arrays.js └── TypedArray └── prototype └── includes ├── README.md ├── exception-bad-this.js ├── exception-from-index-symbol.js ├── exception-from-index-throwing-value-of.js ├── from-index-default.js ├── from-index-greater-equal-length.js ├── from-index-negative-computed-index.js ├── from-index-negative-value.js ├── from-index-to-integer.js ├── function-identity.js ├── function-length.js ├── function-name.js ├── function-property-descriptor.js ├── length-zero.js ├── mutate-global-number.js ├── mutate-global-object.js └── same-value-zero.js /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | npm-debug.log 3 | out/ 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/README.md -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/deploy.sh -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/package.json -------------------------------------------------------------------------------- /reference-implementation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/reference-implementation/README.md -------------------------------------------------------------------------------- /reference-implementation/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/reference-implementation/index.js -------------------------------------------------------------------------------- /spec.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/spec.html -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/README.md -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/adding-getter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/adding-getter.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/array-like.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/array-like.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-bad-this.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-bad-this.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-before-match.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-before-match.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-from-index-symbol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-from-index-symbol.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-from-index-throwing-value-of.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-from-index-throwing-value-of.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-get-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-get-length.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-to-length-symbol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-to-length-symbol.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/exception-to-length-throwing-value-of.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/exception-to-length-throwing-value-of.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/from-index-default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/from-index-default.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/from-index-greater-equal-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/from-index-greater-equal-length.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/from-index-negative-computed-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/from-index-negative-computed-index.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/from-index-negative-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/from-index-negative-value.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/from-index-to-integer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/from-index-to-integer.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/function-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/function-length.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/function-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/function-name.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/function-property-descriptor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/function-property-descriptor.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/holes-with-prototype.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/holes-with-prototype.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/holes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/holes.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/length-from-prototype.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/length-from-prototype.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/length-missing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/length-missing.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/length-negative.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/length-negative.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/length-positive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/length-positive.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/length-zero.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/length-zero.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/mutate-global-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/mutate-global-number.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/mutate-global-object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/mutate-global-object.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/number-this-strict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/number-this-strict.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/number-this.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/number-this.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/object-elements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/object-elements.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/removing-getter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/removing-getter.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/same-value-zero.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/same-value-zero.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/stops-at-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/stops-at-length.js -------------------------------------------------------------------------------- /test/built-ins/Array/prototype/includes/typed-arrays.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/Array/prototype/includes/typed-arrays.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/README.md -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/exception-bad-this.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/exception-bad-this.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/exception-from-index-symbol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/exception-from-index-symbol.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/exception-from-index-throwing-value-of.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/exception-from-index-throwing-value-of.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/from-index-default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/from-index-default.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/from-index-greater-equal-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/from-index-greater-equal-length.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/from-index-negative-computed-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/from-index-negative-computed-index.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/from-index-negative-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/from-index-negative-value.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/from-index-to-integer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/from-index-to-integer.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/function-identity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/function-identity.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/function-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/function-length.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/function-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/function-name.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/function-property-descriptor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/function-property-descriptor.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/length-zero.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/length-zero.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/mutate-global-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/mutate-global-number.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/mutate-global-object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/mutate-global-object.js -------------------------------------------------------------------------------- /test/built-ins/TypedArray/prototype/includes/same-value-zero.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Array.prototype.includes/HEAD/test/built-ins/TypedArray/prototype/includes/same-value-zero.js --------------------------------------------------------------------------------