This may be difficult for some of you to accept, but JavaScript is not Java.
Yes, indeed, both languages belong to the programming world. However, aside from this apparently confusing similarity, the two languages could not be further from the same thing. Back in 2009, web developer Jeremy Keith so poignantly pointed out, "Java is to JavaScript as ham is to hamster."
The confusion on these two words is a widely discussed and bemusing topic. "Technical" recruiters seem so confident that the two words are synonymous, they routinely attempt recruiting developers for the wrong field. Perhaps it's because both words utilize "java" in their titles.