GoScrobble/web/node_modules/@emotion/memoize/dist/memoize.cjs.prod.js

13 lines
251 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
"use strict";
function memoize(fn) {
var cache = {};
return function(arg) {
return void 0 === cache[arg] && (cache[arg] = fn(arg)), cache[arg];
};
}
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.default = memoize;