Skip to content

Commit 6cad8d5

Browse files
authored
Merge pull request #1243 from smkoyan/patch-3
Update article.md
2 parents 2af2207 + fed834b commit 6cad8d5

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

Lines changed: 1 addition & 1 deletion
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)