Made with KolourPaint and screenshots from Kate (with the GitHub theme).

you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 1 year ago* (4 children)

Not to short-circuit the joke, but in this case, it's because the valid JavaScript version is...

let a

...and one of TypeScript's main design goals is to be a superset of JavaScript, that only adds syntax, and doesn't re-write it.

Beyond that, it's probably a case of some new language just using what the designer is familiar with.

  • source
  • hideshow 4 child comments
  • [–] 3 points 1 year ago (2 children)

    Who says this is JS? Might be Rust.

  • source
  • parent
  • hideshow 2 child comments