JavaScript is a text-based programming language that's commonly used to make webpages more dynamic and interactive for visitors.
Whereas Java and several other programming languages have a wide and rich range of datatypes and collections types, JavaScript only has a small number of primitive datatypes (Boolean, Number, String, ...