But Javascript the language is intrinsically linked to Javascript the runtime. Not sure what you are going for here. I'm not at all the surprised that tuned Javascript can be as performant as pre-compiled Javascript.
To explain further, I'm also not surprised that hand tuned assembler can get the same performance as compiled C.
To explain further, I'm also not surprised that hand tuned assembler can get the same performance as compiled C.