Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/questions/delete-object-properties/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ You can use the JavaScript [delete operator](https://developer.mozilla.org/en-US

Both option A and D will give a TypeError, because neither `car.delete` nor `car.color.delete` is a function.

Option C will give a ReferenceError becuase `color` is not defined. However, `delete car['color']` will work - notice the quotation marks around `color`.
Option C will give a ReferenceError because `color` is not defined. However, `delete car['color']` will work - notice the quotation marks around `color`.