commit
86222ff911
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Error on reading non-existant property
|
# Error on reading non-existent property
|
||||||
|
|
||||||
Usually, an attempt to read a non-existant property returns `undefined`.
|
Usually, an attempt to read a non-existent property returns `undefined`.
|
||||||
|
|
||||||
Create a proxy that throws an error for an attempt to read of a non-existant property instead.
|
Create a proxy that throws an error for an attempt to read of a non-existent property instead.
|
||||||
|
|
||||||
That can help to detect programming mistakes early.
|
That can help to detect programming mistakes early.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue