Javascript Reference

From Yate Documentation
Revision as of 14:26, 10 September 2013 by Paulc (talk | contribs) (Created page with "== Operators == == Global Objects == These are objects, functions or constructors that exists automatically in each script context. <div class="bullet"> </div><font clas...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Operators

Global Objects

These are objects, functions or constructors that exists automatically in each script context.

 

isNaN()

Function that checks if its argument is Not A Number.
 

parseInt()

Function that parses a string to an integer in an arbitrary base.
 

NaN

Static variable that is Not a Number.
 

Object()

Constructor of an Object.

String Functions

Yate's Javascript implementation does not include String or Number objects. Instead applicable methods are added to all kind of non-object values including those native to the Yate engine.

 

length

Property reflecting the length of a string.