From 516836205d3d2d1f0e513f1f831a01e0ea45530d Mon Sep 17 00:00:00 2001 From: webreflection Date: Mon, 7 Aug 2023 10:33:53 +0200 Subject: [PATCH] Added @ungap/new to the list --- README.md | 1 + index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 1185a25..2d68147 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ The main benefit of the essential modules is their size, simplicity, or even per * [@ungap/item](https://github.com/ungap/item) compatible with all JS engines. * [@ungap/json](https://github.com/ungap/json) fixes `\u2028|9` in all JS engines with a `JSON` global. * [@ungap/map](https://github.com/ungap/map) compatible with all JS engines. + * [@ungap/new](https://github.com/ungap/new) an extension to allow `Class.new(...args)` instead of `new Class(...args)` * [@ungap/node-contains](https://github.com/ungap/node-contains) `Element.contains` compatible with all JS engines with a DOM env. * [@ungap/once](https://github.com/ungap/once) `Function.prototype.once` compatible with modern JS engines. * [@ungap/own-keys](https://github.com/ungap/own-keys) `Reflect.ownKeys` compatible with all JS engines. diff --git a/index.html b/index.html index 043d4f0..e890640 100644 --- a/index.html +++ b/index.html @@ -88,6 +88,7 @@

Regular polyfills

  • @ungap/item compatible with all JS engines.
  • @ungap/json fixes \u2028|9 in all JS engines with a JSON global.
  • @ungap/map compatible with all JS engines.
  • +
  • @ungap/new an extension to allow Class.new(...args) instead of new Class(...args)
  • @ungap/node-contains Element.contains compatible with all JS engines with a DOM env.
  • @ungap/once Function.prototype.once compatible with modern JS engines.
  • @ungap/own-keys Reflect.ownKeys compatible with all JS engines.