Hacker News new | ask | show | jobs
by yortus 3148 days ago
Interestingly, a type system was proposed for JavaScript around 2007 as part of ES4, which was later abandoned [1]. The proposed details in [2] are strikingly similar to what we've ended up with in Flow and TypeScript.

[1] https://en.wikipedia.org/wiki/ECMAScript#4th_Edition_.28aban... [2] https://www.ecma-international.org/activities/Languages/Lang...

1 comments

See also ActionScript [1] which was the closest real world language to an ES4 implementation, and how much it seems like Typescript/Flow.

[1] https://en.wikipedia.org/wiki/ActionScript