Closed thinkininfinity closed 8 years ago
a). Initialization is a essential operation in const declaration, so const greeting; return compile error here b). let is more accurate to express mutable state
const
const greeting;
let
mutable state
:shipit:
a). Initialization is a essential operation in
const
declaration, soconst greeting;
return compile error here b).let
is more accurate to expressmutable state