Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sReturnTypes
Table Row (tr)
styleheight: 30px;
Table Head (th)
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
Array
Span
classsWordList
Boolean
Span
classsWordList
Date
Span
classsWordList
Function
Span
classsWordList
Math
Span
classsWordList
Namespace
Span
classsWordList
Number
Span
classsWordList
Object
Span
classsWordList
QName
Span
classsWordList
RegExp
Span
classsWordList
Special Operators
Span
classsWordList
Statements
Span
classsWordList
String
Span
classsWordList
XML
Span
classsWordList
XMLList

HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#Infinity
Numeric value representing infinity.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#NaN
Value representing Not-a-Number.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#undefined
The value undefined.

HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#decodeURI()
Decodes a URI previously encoded with encodeURI or another similar routine.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#decodeURIComponent(encodedURI)
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#encodeURI()
Encodes a URI by replacing certain characters with escape sequences.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#encodeURIComponent()
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#eval()
Evaluates JavaScript code passed as a string.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#isFinite()
Returns true if the given number is a finite number.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#isNaN()
The NaN property indicates that a value is 'Not a Number'.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#isXMLName()
Returns true if the given name can be used as a valid name for an XML element or attribute.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#parseFloat()
Makes a floating point number from the starting numbers in a given string.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#parseInt()
Makes a integer from the starting numbers in a given string in the base specified.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#uneval()
Returns the string representation behind a given object.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idInfinity
classnode
Table Row (tr)
idname
Table Cell (td)
Infinity
Table Row (tr)
iddes
Table Cell (td)
Numeric value representing infinity.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
Infinity
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idNaN
classnode
Table Row (tr)
idname
Table Cell (td)
NaN
Table Row (tr)
iddes
Table Cell (td)
Value representing Not-a-Number.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
NaN
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idundefined
classnode
Table Row (tr)
idname
Table Cell (td)
undefined
Table Row (tr)
iddes
Table Cell (td)
The value undefined.
Table Row (tr)
idret
Table Cell (td)
Returns
Object
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
undefined
Table Row (tr)
classlastDetailRow
Table Cell (td)


HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
iddecodeURI
classnode
Table Row (tr)
idname
Table Cell (td)
decodeURI
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
decodeURI
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Decodes a URI previously encoded with encodeURI or another similar routine.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var str = "http://www.mysite.com/my code.asp?name=[cool]";
var encoded = encodeURI(str);
var decoded = decodeURI(encoded);
application.output(encoded);//http://www.mysite.com/my%20code.asp?name=%5bcool%5d
application.output(decoded);//http://www.mysite.com/my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
iddecodeURIComponent
classnode
Table Row (tr)
idname
Table Cell (td)
decodeURIComponent
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
decodeURIComponent
Span
stylefloat: left;
idiets
(encodedURI)
Table Row (tr)
iddes
Table Cell (td)
Decodes a URI component previously created by encodeURIComponent or by a similar routine.
Table Row (tr)
idprs
Table Cell (td)
Parameters
{String} encodedURI
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var str = "my code.asp?name=[cool]";
var encoded = encodeURIComponent(str);
var decoded = decodeURIComponent(encoded);
application.output(encoded); //my%20code.asp%3fname%3d%5bcool%5d
application.output(decoded); //my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idencodeURI
classnode
Table Row (tr)
idname
Table Cell (td)
encodeURI
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
encodeURI
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Encodes a URI by replacing certain characters with escape sequences.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var str = "http://www.mysite.com/my code.asp?name=[cool]";
var encoded = encodeURI(str);
var decoded = decodeURI(encoded);
application.output(encoded);//http://www.mysite.com/my%20code.asp?name=%5bcool%5d
application.output(decoded);//http://www.mysite.com/my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idencodeURIComponent
classnode
Table Row (tr)
idname
Table Cell (td)
encodeURIComponent
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
encodeURIComponent
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Encodes a URI component by replacing all special characters with their corresponding UTF-8 escape sequences.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var str = "my code.asp?name=[cool]";
var encoded = encodeURIComponent(str);
var decoded = decodeURIComponent(encoded);
application.output(encoded); //my%20code.asp%3fname%3d%5bcool%5d
application.output(decoded); //my code.asp?name=[cool]
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
ideval
classnode
Table Row (tr)
idname
Table Cell (td)
eval
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Object
Span
stylefloat: left; font-weight: bold;
idiets
eval
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Evaluates JavaScript code passed as a string. Returns the value returned by the evaluated code.
Table Row (tr)
idret
Table Cell (td)
Returns
Object
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
eval("var x = 2 + 3;");
application.output(x); // prints: 5.0
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idisFinite
classnode
Table Row (tr)
idname
Table Cell (td)
isFinite
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Boolean
Span
stylefloat: left; font-weight: bold;
idiets
isFinite
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns true if the given number is a finite number.
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
application.output(isFinite(1)); // prints: true
application.output(isFinite(Infinity)); // prints: false
application.output(isFinite(isNaN)); // prints: false
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idisNaN
classnode
Table Row (tr)
idname
Table Cell (td)
isNaN
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
isNaN
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
The NaN property indicates that a value is 'Not a Number'.
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
isNaN( value )
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idisXMLName
classnode
Table Row (tr)
idname
Table Cell (td)
isXMLName
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Boolean
Span
stylefloat: left; font-weight: bold;
idiets
isXMLName
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns true if the given name can be used as a valid name for an XML element or attribute.
Table Row (tr)
idret
Table Cell (td)
Returns
Boolean
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
application.output(isXMLName("good_name")); // prints: true
application.output(isXMLName("bad name")); // because of the space, prints: false
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idparseFloat
classnode
Table Row (tr)
idname
Table Cell (td)
parseFloat
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
parseFloat
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Makes a floating point number from the starting numbers in a given string.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
parseFloat('string')
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idparseInt
classnode
Table Row (tr)
idname
Table Cell (td)
parseInt
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
Number
Span
stylefloat: left; font-weight: bold;
idiets
parseInt
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Makes a integer from the starting numbers in a given string in the base specified.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
parseInt( 'string' [, base] )
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
iduneval
classnode
Table Row (tr)
idname
Table Cell (td)
uneval
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
String
Span
stylefloat: left; font-weight: bold;
idiets
uneval
Span
stylefloat: left;
idiets
()
Table Row (tr)
iddes
Table Cell (td)
Returns the string representation behind a given object.
Table Row (tr)
idret
Table Cell (td)
Returns
String
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
application.output(uneval(isNaN)); // prints something like: function isNaN() { [native code for isNaN, arity=1] }
Table Row (tr)
classlastDetailRow
Table Cell (td)