"use strict";const u=require("./_MapCache.js");var p=u,o="Expected a function";function r(i,e){if(typeof i!="function"||e!=null&&typeof e!="function")throw new TypeError(o);var a=function(){var c=arguments,n=e?e.apply(this,c):c[0],t=a.cache;if(t.has(n))return t.get(n);var h=i.apply(this,c);return a.cache=t.set(n,h)||t,h};return a.cache=new(r.Cache||p),a}r.Cache=p;var s=r;module.exports=s;
//# sourceMappingURL=memoize.js.map
