const a = 10; prn("a: " + a); //not allowed //a = 20;
let a; a = 10; prn("a: " + a); //allowed a = 20; prn("a: " + a);
let a, b, sum;
a = 10;
b = 2;
sum = a + b;
prn('sum: ' + (a + b));
const a = 10; const b = 2; const sum = a + b; prn('sum: ' + (a + b));