When a JavaScript variable is declared, its data type must be specified.

False. JavaScript is a dynamically typed language, meaning the data type of a variable is determined by the value assigned to it, not by the declaration.