Skip to main content

Function

Less than 1 minutefeaturees-standard

Function

Modules

Just ES5:

Types

interface Function {
  name: string;
  bind(thisArg: any, ...args: Array<any>): Function;
  [Symbol.hasInstance](value: any): boolean;
}

Entry points

core-js/es|stable|actual|full/function
core-js/es|stable|actual|full/function/name
core-js/es|stable|actual|full/function/has-instance
core-js(-pure)/es|stable|actual|full/function/bind
core-js(-pure)/es|stable|actual|full/function/virtual/bind

Example

Exampleopen in new window:

(function foo() {}).name; // => 'foo'

console.log.bind(console, 42)(43); // => 42 43