On the last point: JS/TS rightly gets a lot of flak for excessive third party dependency trees, but the JS stdlib is tiny.
For a lot of stuff that could be done with the stdlib in a lot of languages you really do either need a 3rd party package in JS or write a lot of code (and tests) yourself