Question: what is true about variables in javascript?
Answer: JavaScript variables are loosely-typed which means it does not require a data type to be declared. You can assign any type of literal values to a variable e.g. string, integer, float, boolean etc.. ... Variables can be defined using var keyword. Variables defined without var keyword become global variables.