Object

Instance of

Class

Inherits from

Object

Description

Base class of all Easypt classes, all objects are instances of Object.

Example

let obj; // Object is default type
obj.addProperty("first", 1);
obj.addProperty("second", "a");
obj.removeProperty("second");
if (obj.hasOwnProperty("second"))
    console.write(obj.second);
else
    console.write(obj.first);

Expected output

1

Members

Inherited members

Properties

  • classPrototype