index.js
function generateKey (args, strictArgMatch = true) {
  args = Array.from(args)
  if (strictArgMatch) return args
  return args.map(arg => maybeStringify(arg))
}
function generateKey (args, strictArgMatch = true) {
  args = Array.from(args)
  if (strictArgMatch) return args
  return args.map(arg => maybeStringify(arg))
}
function generateKey ( args , strictArgMatch = true ) { args = Array . from ( args ) if ( strictArgMatch ) return args return args . map ( arg => maybeStringify ( arg ) ) }
Generates the representation of function arguments which will be used to store
and retrieve return values in the cache.
@param  {array|object} args An array-like collection of the function's arguments.
@param  {bool} [strictArgMatch=true] Whether or not to match function arguments
based on their serialized representation.
@return {array} An array of keys (either the arguments themselves or a
serialization thereof) to use for the cache.
Generates the representation of function arguments which will be used to store and retrieve return values in the cache .