Javascript Object

From Yate Documentation
Revision as of 13:35, 3 September 2024 by Marian (Talk | contribs)

Jump to: navigation, search

General

Methods

  • assign(dest[,src[,src1 ...])

Assign object(s) properties to another object.
Parameters:
dest Destination object. Does nothing if not an object.
src Source object. Does nothing if not an object.
src1 ... Other source object(s). Does nothing if not an object.
Return:
Given dest data.


  • assignProps()


  • keys([obj])

Retrieve the list of of the calling script.
Parameters:
obj Object to list keys for. List calling script's global data object keys if this parameter is not given.
Return:
Array of key values. null if given object has no properties (e.g. obj=undefined)


  • global()

Retrieve the context (data) of the calling script.
Return:
Object containing all global data of the calling script.

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers