Statements
Variable Declaration
let name: type = value;
Assignment
expression = value;
Valid left-hand sides of assignment are identifiers (e.g. foo
, or an access expression foo.bar.baz
).
Return
return value;
Expression
expression;
let name: type = value;
expression = value;
Valid left-hand sides of assignment are identifiers (e.g. foo
, or an access expression foo.bar.baz
).
return value;
expression;