Function

Instance of

Class

Inherits from

Object

Description

Represents a function.

Example

function sum (a, b) {
    return a + b;    
};
console.write(sum(1, 3));

Expected output

4

Members

Inherited members

Properties

  • classPrototype