Skip to content

Instantly share code, notes, and snippets.

@just-boris
Created February 5, 2017 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save just-boris/b73dafe0718e5878a943c15f46773ca2 to your computer and use it in GitHub Desktop.
Save just-boris/b73dafe0718e5878a943c15f46773ca2 to your computer and use it in GitHub Desktop.
Testcase for fast-memoize and webpack
import memoize from 'fast-memoize';
function sum(a, b) {
return a + b;
}
const memoSum = memoize(sum);
console.log(sum(1, 2));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment