← Code LabJavaScript0/50 solved · 0%
Metaprogramming · hard

40. Proxy objects

Intercept property reads.

Write `withDefault(obj, fallback)` returning a Proxy that yields `fallback` for missing keys.
Required in your answer: new Proxy