3 ms·
Variables are never truly private in the compiled JS though. You can fake it using clever closure techniques but there are still ways to access the vars as I un
by andy_ppp 5y ago
Variables are never truly private in the compiled JS though. You can fake it using clever closure techniques but there are still ways to access the vars as I understand it. This is fixing that at the JS level.
- tylerhou 5y agoI don’t know of any way of accessing lexically bound variables that are captured by a closure if there is no explicit getter.