[ edit ] variables in standard javascript have no type attached, and any value can be stored in any variable. starting with es , the version of the language finalised in , variables can be declared with let (for a block level variable), var (for a function level variable) or const (for an immutable one...