Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
In this case, a library called MooTools had their own String.prototype.contains method which was incompatible with the ES2015 proposal. The TC39 had to rename it from contains to includes to avoid breaking a lot of sites.
ES1995 agrees.
Funny thing is I once opened the console on a Stack Overflow page to try out a few things to solve a problem I was having. I ended up programming in a reliance on String.splitOnLast(), believing "Oh! Nice, I didn't realize this had gone through TC39."
Underscore, then Lodash are examples for JavaScript of how useful features can be developed in a third party library that influence adoption in the language standard. As an example, Lodash would have been an inspiration / push for the ES2019 flatMap and ~flatten~ flat Array methods, without having modified the global prototypes. Lodash's lazy evaluation is listed as an inspiration in the current iterator helpers proposal. As I said in the other thread, I recognize that the negative impacts of modifying the global prototypes weren't well-known at first, but I'm also saying that it didn't have to be that way. But it was, it happened, it affected things, and we can still move forward.
Underscore, then Lodash are examples for JavaScript of how useful features can be developed in a third party library that influence adoption in the language standard. As an example, Lodash would have been an inspiration / push for the ES2019 flatMap and ~flatten~ flat Array methods, without having modified the global prototypes. Lodash's lazy evaluation is listed as an inspiration in the current iterator helpers proposal. As I said in the other thread, I recognize that the negative impacts of modifying the global prototypes weren't well-known at first, but I'm also saying that it didn't have to be that way. But it was, it happened, it affected things, and we can still move forward.
Underscore, then Lodash are examples for JavaScript of how useful features can be developed in a third party library that influence adoption in the language standard. As an example, Lodash would have been an inspiration / push for the ES2019 flatMap and ~flatten~ flat Array methods, without having modified the global prototypes. Lodash's lazy evaluation is listed as an inspiration in the current iterator helpers proposal. As I said in the other thread, I recognize that the negative impacts of modifying the global prototypes weren't well-known at first, but I'm also saying that it didn't have to be that way. But it was, it happened, it affected things, and we can still move forward.