Content deleted Content added
m Fix Linter errors. |
→JavaScript: mention Proxy object, and that the handler functions are called traps, so the Trap disambiguation isn't vacuous |
||
Line 479:
Sorry, the driver is too young to drive.
Car has been driven!
More advanced proxies involve the <code>Proxy</code> object, which can intercept and redefine fundamental operations such as accessing properties. The handler functions in this case are sometimes called ''traps''.<ref>{{cite web |title=Proxy - JavaScript {{!}} MDN |url=https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy |website=developer.mozilla.org |access-date=21 January 2022}}</ref>
=== PHP ===
|