~/lightning

JS Proxy, where have you been

Lightningat CodeMash 2023 · 2023-01-10..01-13· [javascript]
links:none on file
slides:none on file

JS Proxy appears as a wrapper around an object that intercepts get/set/delete operations and lets code enforce behavior. Examples demonstrate a read-only object that denies sets and throws, an input validation handler that rejects wrong types, and a debugging proxy that logs every access so mutated properties and call order are visible. Notes call out an order of magnitude performance cost vs plain objects, no primitive targets, and no Internet Explorer support.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.