JavaScript is weakly typed, meaning it does not store the datatype while you are writing your code. However, it does support numerous data types and maintains what datatype a variable is storing at runtime. You can even query a variable to determine the datatype.