poopyfill

A much-needed polyfill.

Usage no npm install needed!

<script type="module">
  import poopyfill from 'https://cdn.skypack.dev/poopyfill';
</script>

README

Poopyfill

A much needed polyfill.

TC39 proposal forthcoming.

Usage

const a = [1, 2]
a.eat(0)
// a == [0, 1, 2]

[1, 2].vomit() // == 1

[1, 2].poop() // == 2

const b = [1, 2]
b.ꓽO(3)
// b == [1, 2, 3]