1. Scope in TypeScript

    I like TypeScript but I've found that it can give a false sense of security with regards to the (in)famous this. When writing JavaScript, or anything that compiles to it, it is imperative to be wary of scope. Let's look at a little example; imagine we are translating the...