declare it a new local or global variable
var x, y: int
assigns 3 to the variables x and y
var x, y = 3
The compiler must be able to … in a constant declaration at compile time
It must be able to evaluate the expression in a constant declaration at compile time
What is the difference between let and const
The difference between let and const is: let introduces a variable that can not be re-assigned, const means “enforce compile time evaluation and put it into a data section”
const input = readLine(stdin) # Error: constant expression expected let input = readLine(stdin) # works