There are websites like https://jsbench.me/ but for JS. You need to compile code fist. There is an alternative tool for it: typescript playground.
https://www.typescriptlang.org/play
It even supports VIM edit mode (check in plugins).
It looks like this
Top comments (0)