Skip to content

Commit b299015

Browse files
committed
Fixed typo in map example
"Propery" -> "Property"
1 parent 25e4c8b commit b299015

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
@@ -583,7 +583,7 @@ However, this does not protect us from accidentally overriding functions with sp
583583

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

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

0 commit comments

Comments
 (0)