Skip to content

Commit 7ccc15a

Browse files
committed
Merge pull request DrkSephy#17 from bulatb/patch-2
Fixed typo in map example
2 parents 6817b97 + b299015 commit 7ccc15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ However, this does not protect us from accidentally overriding functions with sp
580580

581581
```javascript
582582
> getOwnProperty({ hasOwnProperty: 'Hah, overwritten'}, 'Pwned');
583-
> TypeError: Propery 'hasOwnProperty' is not a function
583+
> TypeError: Property 'hasOwnProperty' is not a function
584584
```
585585

586586
Actual **Maps** allow us to **set**, **get** and **search** for values (and much more).

0 commit comments

Comments
 (0)