Skip to content

Commit f71ac9a

Browse files
author
wendy@lastlookeditorial.com
committed
Edited ch06.asciidoc with Atlas code editor
1 parent eec460d commit f71ac9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch06.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ The `getOwnPropertyDescriptor` trap in <<getownpropertydescriptor_trap>> offers
364364

365365
==== deleteProperty Trap
366366

367-
Setting ((("proxies", "deleteProperty trap", id="prox6dpt")))((("traps", "deleteProperty trap", id="trap6dpt")))a property to `undefined` clears its value, but the property is still part of the object. Using the `delete` operator on a property with code like `delete cat.furBall` means that the `furBall` property will be completely gone from the `cat` object.
367+
Setting ((("proxies", "deleteProperty trap", id="prox6dpt")))((("traps", "deleteProperty trap", id="trap6dpt")))((("deleteProperty trap", id="dpt6")))a property to `undefined` clears its value, but the property is still part of the object. Using the `delete` operator on a property with code like `delete cat.furBall` means that the `furBall` property will be completely gone from the `cat` object.
368368

369369
[source,javascript]
370370
----
@@ -430,7 +430,7 @@ delete proxy._secret
430430
// <- Error: Can't delete private "_secret" property
431431
----
432432

433-
Consumers interacting with `target` through the `proxy` can no longer delete properties in the `_secret` property space. That's one less thing to worry about!
433+
Consumers interacting with `target` through the `proxy` can no longer delete properties in the `_secret` property space. That's one less thing to worry ((("proxies", "deleteProperty trap", startref="prox6dpt")))((("traps", "deleteProperty trap", startref="trap6dpt")))((("deleteProperty trap", startref="dpt6")))about!
434434

435435
==== defineProperty Trap
436436

0 commit comments

Comments
 (0)