Developer   API   Core & System   Object

  •  Config(0)
  •  Properties(2)
  •  Methods(10)
  •  Events(0)

Object(native)

Despite of its name Object is a class that contains methods of objects in script.

Example

var obj = { one:1, two:2 }; // creating object from literal // this line here will be evaluated to true: if( obj instanceof Object ) console<<"I am an instance of Object" ; // will output this

Properties

  • className : String
    Name of the class if object was created as instance of user defined class.
  • length : Integer
    Total number of members this instance contains.

Methods

  • call(thisObj [,p0, ... pN]) : Object
    Invokes the function in context of this set to thisObj.
  • clone() : Object
    Makes copy of the object and returns it.
  • eval(what[, namespace]) : Object
    Evaluates (interprets) what with context of this equal to the object. If namespace object is given then it is used as global namespace for evaluated code.
  • exists(tag, [deep = false]) : Boolean
    Checks property by its tag for existence.
  • propertyAt(tag) : Object
    Does lookup in the object for member/property by its tag. This is a direct equivalent of obj.tag construction.
  • remove(tag)
    Removes property of the function by its tag (a.k.a. name).
  • show(out = console)
    Reports class name and list of property name/values of the object. Intended to use for debugging purposes.
  • this() : Object
    Constructor, creates instance of Object class - object per se.
  • toString() : String
    Returns string "[object Object]".
  • valueOf() : Object
    Returns object itself.
API Navigation
Skip Navigation Links.
Expand <span>User Interface</span> User Interface
Collapse <span>Core & System</span> Core & System
System
Object
Integer
Float
String
Date
Math
Array
RegExp
Global
Function
Timer
Expand <span>Graphics</span> Graphics
Expand <span>Files and Databases</span> Files and Databases
Expand <span>Crypto</span> Crypto
Expand <span>Native User Interface</span> Native User Interface
Expand <span>Net</span> Net
Expand <span>Media</span> Media
Expand <span>Sensor</span> Sensor
Expand <span>Game Development</span> Game Development