Javascript Object

From Yate Documentation
Revision as of 11:25, 3 September 2024 by Marian (talk | contribs) (Created page with " == General == == Methods == * '''assign()''' * '''assignProps()''' * '''keys([obj])''' Retrieve the list of of the calling script.<br/> Parameters:<br/> '''obj''' Obje...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General

Methods

  • assign()


  • 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.