packages/vue-server-renderer/build.js
function cached (fn) {
  var cache = Object.create(null);
  return (function cachedFn (str) {
    var hit = cache[str];
    return hit || (cache[str] = fn(str))
  })
}
function cached (fn) {
  var cache = Object.create(null);
  return (function cachedFn (str) {
    var hit = cache[str];
    return hit || (cache[str] = fn(str))
  })
}
function cached ( fn ) { var cache = Object . create ( null ) ; return ( function cachedFn ( str ) { var hit = cache [ str ] ; return hit || ( cache [ str ] = fn ( str ) ) } ) }
Create a cached version of a pure function.
Create a cached version of a pure function .