Earlier quoted context omitted.
Actually, for JS engines this is a much smaller problem than for other parts of the web platform. There are two nasty warts I'm aware of: the "function inside if" mess, and the fact that the spec says enumeration order is undefined but actual web pages depend on some things about enumeration order that all browsers implement; chances are this will make it into the spec at some point. But by and large JS engines agree…
Enumeration order was indeed (finally) added to the ES2015 spec. Here's a link to the release candidate spec for the [[OwnPropertyKeys]] algorithm: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-or...
Microsoft Edge's JavaScript engine to go open-source
281–283 of 283 posts
Re: Microsoft Edge's JavaScript engine to go open-source
#282We have a bunch of laptops at school running Windows 10 with Edge. Students can't copy and paste into Google Docs while using Edge. Was this a deliberate choice by Microsoft to steer people away from Google products, or is it something more benign than that?
Re: Microsoft Edge's JavaScript engine to go open-source
#283Earlier quoted context omitted.
"JavaScript will never have mandatory types" says Brendan Eich, who doesn't work for Microsoft last I checked, which I mean to say Microsoft is not the driving force behind ES6. Source: https://channel9.msdn.com/Blogs/Charles/SPLASH-2011-Brendan-... [10:04]
Mandatory types is obvious—it needs to be compatible with existing JS code. Gradual typing is entirely plausible (and I think highly likely), and from there it's easy to add some static lint that ensures a codebase is statically typed.