declarative statement
In computing, a statement that declares a variable, function, or other entity, as opposed to an imperative statement that performs an action.
In this programming language, variable declaration statements begin with 'var'.
It is important to understand the difference between declarative statements and imperative statements.
命令文 is an 'imperative statement' or 'command statement' in programming, contrasting with 宣言文 which declares rather than commands.
type declaration statement
Compound of 宣言 (declaration) + 文 (statement/sentence). The computing sense is a direct extension of the literal meaning.