Elementals.js

Latest Version: 3.4 PRODUCTION 18 November 2017

String Polyfills and Extensions

JavaScript's String object is expanded by Elementals for a few handy methods, and a polyfills are provided for number of ECMAScript 262-5 functions.

String Elementals Extended Methods

String Polyfills

The following are linked to the Mozilla Developer Network pages as I find them easier to digest than the official specification, and because these polyfills are loosly based on the code provided on their site. I simply cut out some parts that seemed... nonsensical.

Elementals String Methods

Elementals Extensions

Polyfills

These link to the Mozilla Developer Network (MDN)

Key

  • Object
  • Method
  • "Constant" property

Downloads

Advertisement