memoize-strict
Memoization with multi-argument support. Compares arguments with strict equality.
; let counter = 0;const memoizeTest = ; ; // => "number boolean"counter; // => "1"; // => "number boolean"counter; // => "1" const a = a: 'a';const b = 'b';; // => "object object"counter; // => "2"; // => "object object"counter; // => "2" ; // => "object object"counter; // => "3"; // => "object object"counter; // => "4"
Installation
npm i memoize-strict --save
License
MIT