4 ms·
You could use eval to expand whatever syntax you like into function calls. It could be done once at the start of the program and act like a js preprocessor. I
by mejutoco 3y ago
You could use eval to expand whatever syntax you like into function calls. It could be done once at the start of the program and act like a js preprocessor.
I know eval is not kosher but this problem is also not real, so why not.
- eduardoleao052 3y agoThat's an interesting idea as well, could definitely see that working in some use cases.