Skip to content

Commit 9a3494f

Browse files
fix README
1 parent 8ceaa4e commit 9a3494f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Python's defaultdict data structure for JavaScript. Parent is
55
[js-collections](https://github.com/aureooms/js-collections).
66

77
```js
8-
dict( ).getdefault( "x" , -2 ) ; // -2
8+
defaultdict( ( ) => 0 ).get( 'x' ) ; // 0
99
```
1010

1111
[![NPM license](http://img.shields.io/npm/l/aureooms-js-collections-defaultdict.svg?style=flat)](https://raw.githubusercontent.com/aureooms/js-collections-defaultdict/master/LICENSE)

0 commit comments

Comments
 (0)