Files
Remote-Control-Center/mc_test/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
2025-11-25 09:56:15 +03:00

10 lines
202 B
JavaScript
Executable File

function memoize(fn) {
var cache = Object.create(null);
return function (arg) {
if (cache[arg] === undefined) cache[arg] = fn(arg);
return cache[arg];
};
}
export { memoize as default };