3 ms·
How "safe" is it? I'm thinking, for example, of Google's closure compiler and the advanced optimizations, which can break some things. Or roughly, if it compi
by tyingq 10y ago
How "safe" is it? I'm thinking, for example, of Google's closure compiler and the advanced optimizations, which can break some things.
Or roughly, if it compiles without errors, is it safe to assume it won't introduce new bugs?
- NTillmann 10y agoIt's not yet ready for production, so there are some bugs and cases where we should reject a program but don't do that yet. Having said that, it's quite safe, but won't be undetectable. Code using eval could detect injected identifiers, we don't currently aim at preserving function names, and the method bodies you get with toString() are altered. That should be roughly it.
- Hydraulix989 10y agoThe real litmus test: Does FB use it in production yet?
- newman314 10y agoHas this been tried on popular JS packages such as jquery?