Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "polyfills"

Index

Variables

promiseImpl

promiseImpl: PromiseConstructor = new Function('return this')().Promise
returns

The global Promise function

Functions

getAsyncFunctionConstructor

  • getAsyncFunctionConstructor(): Function
  • Returns Function

    A new AsyncFunction constuctor

trimLeft

  • trimLeft(str: string): string
  • str.trimLeft polyfill

    Parameters

    • str: string

      Input string

    Returns string

    The string with left whitespace removed

trimRight

  • trimRight(str: string): string
  • str.trimRight polyfill

    Parameters

    • str: string

      Input string

    Returns string

    The string with right whitespace removed

Generated using TypeDoc