Skip to content

Commit fed834b

Browse files
authored
Update article.md
1 parent 28a514a commit fed834b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/99-js-misc/01-proxy/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ It triggers when a property is read, with following arguments:
9999

100100
Let's use `get` to implement default values for an object.
101101

102-
We'll make a numeric array that returns return `0` for non-existant values.
102+
We'll make a numeric array that returns `0` for non-existant values.
103103

104104
Usually when one tries to get a non-existing array item, they get `undefined`, but we'll wrap a regular array into proxy that traps reading and returns `0` if there's no such property:
105105

0 commit comments

Comments
 (0)