just use NodeJS or Go
I'm not saying PHP is a better asynchronous language than NodeJS but I'd definitely be wary of JavaScript unless you're interested in compiling
If you're interested in compiling then there are some very good languages in that space that are not JavaScript, Go, #F, etc
True, but you can use TypeScript, which I expect is more advanced than PHP's typing.
>no native filter map reduce on hash table
What do you mean by that? There is Object.keys/Object.values/Object.entries.
>no explicit variable import into scope
What do you mean by this? You can import a variable from a module.