loading...

Discussion on: Optional Chaining in JavaScript Right Now!

Collapse
samholmes profile image
Sam Holmes Author

This approach is reasonable. It comes down to style really. Using Proxies allows you to tap into some meta-programming aspects of JavaScript where you can change the behavior or the syntax slightly. Either way you accomplish this is fine, however Proxies seems like a nicer use case.