[AskJS] TIL StackOverflow monkeypatches the String prototype across its various sites.

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • mootools-core

    MooTools Core Repository

  • 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

    ES1995 – The Missing JS Polyfill

  • ES1995 agrees.

  • 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.

    SurveyJS logo
  • ecma262

    Status, process, and documents for ECMA-262

  • 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."

  • proposal-iterator-helpers

    Methods for working with iterators in ECMAScript

  • 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

    JavaScript's utility _ belt

  • 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.

  • lodash

    A modern JavaScript utility library delivering modularity, performance, & extras.

  • 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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts