npm.io
1.0.0 • Published 7 months ago

ununcurry-this-x

Licence
MIT
Version
1.0.0
Deps
0
Size
912 B
Vulns
0
Weekly
0

Ununcurry

function includesPolyfill(array, x) {
  return array.indexOf(x) !== -1
}

var ununcurry = require("ununcurry-this-x")

Array.prototype.includes = ununcurry(includesPolyfill)

Keywords