fix typo
authorJustin Wind <justin.wind+git@gmail.com>
Tue, 28 Jun 2022 21:48:31 +0000 (14:48 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Tue, 28 Jun 2022 21:48:31 +0000 (14:48 -0700)
README.md

index 10f677c34d1d12d41a3211d5afd063d377745da5..12d6cdd1ad3ec3274937f0b62567bf0b59e55619 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,6 +8,6 @@ Easily defer property initialization until first access.
 const { lazy } = require('@squeep/lazy-property');
 
 const obj = {};
-lazy(obj, () => doSomethingExpensive());
+lazy(obj, 'prop', () => doSomethingExpensive());
 const getItNow = obj.prop;
 ```