Blocks
Blocks of code are denoted with brackets {}
.
Blocks can be assigned to variables, in which case they are executed and their last expression is returned.
val :: Floatnumber = 32
thp
val result = Expected an expression here, found a LeftBrace{
╰╴Invalid variable declaration
val temp = 161
temp * 2 // This will be assigned to `result`
}
print(result) // 322
thp