| ▲ | avaer 2 hours ago | |
It's not possible, it reduces to the halting problem, unless you start restricting the Javascript/Typescript you allow. Otherwise the best you can do is be solid on common special cases. Which is what a modern (non-static) JS/TS runtime is. | ||