wait- babel and tsc are transpilers/transcompilers. Javascript is an interpreted language so compilers can't be brought into the picture unless you go deeper and get some C calls for example. Please refer to en.wikipedia.org/wiki/Runtime_system
Thanks very much for the feedback. Technically, you're 100% correct. I used the term "compiler" as a general term for something that converts X to Y without going into technical discussion of compiler vs. transpiler. I could have gone into more technical discussion about bytecode vs. machine code. It was not my intention from the post.