We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ceaa4e commit 9a3494fCopy full SHA for 9a3494f
README.md
@@ -5,7 +5,7 @@ Python's defaultdict data structure for JavaScript. Parent is
5
[js-collections](https://github.com/aureooms/js-collections).
6
7
```js
8
-dict( ).getdefault( "x" , -2 ) ; // -2
+defaultdict( ( ) => 0 ).get( 'x' ) ; // 0
9
```
10
11
[](https://raw.githubusercontent.com/aureooms/js-collections-defaultdict/master/LICENSE)
0 commit comments