Predefined JavaScript Polyfills

The following is a list of predefined JavaScript polyfills. For more information, see JavaScript Polyfills section under JavaScript Execution Tab in the Default Options in Basic Engine Robot Configuration topic.

Object or API

Description

Notes

Array.prototype.values

Array.prototype.keys

Array.prototype.includes

Array.prototype.findIndex

Array.prototype.find

Array.prototype.fill

Array.prototype.entries

Array.prototype.copyWithin

Array.prototype.contains

Array.prototype.@@iterator

Array.of

Array.from

The JavaScript Array is a global object that is used in the construction of arrays; which are high-level, list-like objects.

Console

The Console object provides access to the browser debugging console.

Replaces the current functions of the Console object available in the browser.

DOMTokenList.prototype.@@iterator

The DOMTokenList interface represents a set of space-separated tokens. It is indexed beginning with 0 as with JavaScript Array objects. It is always case-sensitive.

Element.prototype.replaceWith

Element.prototype.prepend

Element.prototype.matches

Element.prototype.closest

Element.prototype.before

Element.prototype.append

Element.prototype.after

The Element is a part of a webpage.

IntersectionObserverEntry

IntersectionObserver

An interface of the Intersection Observer API that provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document's viewport. The ancestor element or viewport is referred to as the root.

Intl

A namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting. The INTL object provides access to several constructors as well as functionality common to the internationalization constructors and other language sensitive functions.

Supports the entire set of objects and the following languages:

da, de , en, ja, ru

Map

An object that holds key-value pairs and remembers the original insertion order of the keys.

Supports the entire set of objects

Math.trunc

Math.tanh

Math.sinh

Math.sign

Math.log2

Math.log1p

Math.log10

Math.imul

Math.hypot

Math.fround

Math.cosh

Math.clz32

Math.cbrt

Math.atanh

Math.asinh

Math.acosh

The Math is a built-in object that has properties and methods for mathematical constants and functions. Not a function object.

NodeList.prototype.forEach

NodeList.prototype.@@iterator

NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().

Number.parseInt

Number.parseFloat

Number.isSafeInteger

Number.isInteger

Number.MIN_SAFE_INTEGER

Number.MAX_SAFE_INTEGER

Number.Epsilon

The Number is a numeric data type in the double-precision 64-bit floating point format (IEEE 754). In other programming languages different numeric types can exist, for example: Integers, Floats, Doubles, or Bignums.

Object.values

Object.setPrototypeOf

Object.keys

Object.entries

Object.assign

A constructor that creates an object wrapper.

Performance

The Performance interface provides access to performance-related information for the current page. It is part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.

An object of this type can be obtained by calling the window.performance read-only attribute.

Supports the PerformanceEntry object.

The PerformanceEntry object encapsulates a single performance metric that is part of the performance timeline.

Promise

Promise.prototype.finally

The Promise is an object representing the eventual completion (or failure) of an asynchronous operation, and its resulting value.

RegExp.prototype.flags

A property that returns a string consisting of the flags of the current regular expression object.

Set

An object that allows to store unique values of any type, whether primitive values or object references.

Supports the entire set of objects

String.prototype.contains

String.prototype.codePointAt

String.prototype.endsWith

String.prototype.@@iterator

String.prototype.includes

String.prototype.padEnd

String.prototype.padStart

String.prototype.repeat

String.prototype.startsWith

String.prototype.trim

All String instances inherit from String.prototype. Changes to the String prototype object are propagated to all String instances.

Symbol

Symbol.hasInstance

Symbol.isConcatSpreadable

Symbol.iterator

Symbol.match

Symbol.search

Symbol.species

Symbol.split

Symbol.toPrimitive

Symbol.toStringTag

Symbol.unscopables

The Symbol is a primitive value, which is created by invoking the function Symbol, which dynamically produces an anonymous, unique value, and may be used as an object property.

Url

An interface, which represents an object providing static methods used for creating object URLs.

Supports the entire set of objects

WeakSet

An object that is used to store weakly held objects in a collection.

WeakMap

A collection of key/value pairs in which the keys are weakly referenced. The keys must be objects and the values can be arbitrary values.