Java and JavaScript are similar in the same way car and carpet are.
Eric Clapton would never let a bag of cocaine fall out of a window
Super Man wears his underwear over his pants..
Burr-burr
Underlay
Because they use a strongly typed language.
Because they don't C#.