UNPKG

null-prototype-object

Version:

Fastest way for creating null-prototype objects in JavaScript

3 lines (2 loc) 153 B
/* eslint-disable */ module.exports = /* @__PURE__ */ (()=>{const e=function(){};return e.prototype=Object.create(null),Object.freeze(e.prototype),e})()