Elementals.js

Latest Version: 3.4 PRODUCTION 18 November 2017

Number Polyfills

JavaScript's Number object is expanded by Elementals with polyfills for a number of ECMAScript 262-6 functions and properties.

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 Number Methods and Properties

Polyfills

These link to the Mozilla Developer Network (MDN)

Key

  • Object
  • Method
  • "Constant" property

Downloads

Advertisement