Adventures on the edge

Learning new development technologies
    "When living on the bleeding edge - you sometimes have to bleed" -BillKrat

let and var in TypeScript

The advantage of the “let” keyword is that you cannot use a variable before it has been defined (safer).  In contrast “var” does not have to be defined.  The following will compile: console.log('not defined = ' + notDefinedIsLegal); var notDefinedIsLegal;Note in image below [underlined in... [More]