|
|
|
|
|
by tomjen3
3948 days ago
|
|
Beats the pants of it - if you can live with the limitations. It doesn't change string access, but it does rewrite dot access so you have to use dot access except when dealing with e.g json. It doesn't work with the with statement, or code that is run with eval. You have to specifically export functions that should be used outside the code, otherwise they may be inlined, renamed or deleted. Finally to get the most out of it, you have to write jsdocs for its types (at which point it can now do things like inlining functions). |
|