All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.emotion-memoize.cjs.dev.js Maven / Gradle / Ivy

The newest version!
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

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

exports["default"] = memoize;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy