3 ms·
So transpiling down to ES5 doesn’t preserve semantics ?
by thewarrior 7y ago
So transpiling down to ES5 doesn’t preserve semantics ?
- jakub_g 7y agoFor some features, having 100% spec compliant behavior in transpiled code would mean excruciatingly slow/bloated code, or be downright impossible. There's a reason why features are added to the language after all: to add things that are impossible or too complex to write in old version of language. Transpilation is "best effort" and involves some tradeoffs.