Update README.md

Fix typo
This commit is contained in:
Juan Picado (@jotadeveloper)
2016-12-04 15:53:47 +01:00
committed by GitHub
parent df2b550ec4
commit 5c3516cd14

View File

@@ -102,7 +102,7 @@ There's a `normalizer` option through which we can pass custom cache id normaliz
e.g. if we want to memoize a function where argument is a hash object which we do not want to compare by instance but by its content, then we can achieve it as following:
```javascript
var mFn = memoize(function (hash) {
var mfn = memoize(function (hash) {
// body of memoized function
}, { normalizer: function (args) {
// args is arguments object as accessible in memoized function