JavaScript is useless for data exploration, that's why very little data scientist uses JavaScript and all kinds of none white spaces languages.
Curly braces doesn't work well in iterative explorative programming
i've built an entire career building apps and tools in JS for data scientists to explore complex data. tons of companies pay lots and lots of money for this - i'm currently at a FAANG doing exactly this with data scientists.