JavaScript
Variables can be defined in several ways. In an older version named "ES5", variables are defined using the var keyword. In the newer versions after ES5, variables can be defined using const for constant variables and let for local variables. The value of constant variables cannot be re-declared or reassigned. Variables assigned using const or let are contained within blocks, while variables assigned using var are contained within functions.// ES5