Resin 1.1
FAQ
Reference
JavaDoc
Demo
Java Tutorial
Getting Started
Configuration
Topics
JSP
XTP/XSL
JavaScript
JS Library
Core Library
File Library
Servlet Library
Database Library
XML Library
Global
Object
Array
Boolean
Date
Function
Math
Number
Regexp
String
The Global Object
Global
eval(statements) | Parses statements as a statement list, executes the statements and returns the value of the last statement.
NaN | The not-a-number number.
Infinity | Positive infinity.
parseInt(string) | Parses string as an integer.
parseFloat(string) | Parses string as a floating point number.
escape(url) | Escapes url to encode characters illegal in the URL spec.
unescape(url) | Undoes the url encoding.
isNaN(arg) | True if arg, converted to a number, is the NaN value.
isFinite(arg) | True if arg is a finite number.
Global
### eval(statements)
Parses statements as a statement list, executes the statements and returns the value of the last statement. The statements execute in the calling context, so `eval` picks up local variables.
function foo(a) { return eval("a + 3"); } foo(10);
13
### NaN
The not-a-number number.
### Infinity
Positive infinity.
### parseInt(string)
Parses string as an integer.
### parseFloat(string)
Parses string as a floating point number.
### escape(url)
Escapes url to encode characters illegal in the URL spec.
### unescape(url)
Undoes the url encoding.
### isNaN(arg)
True if arg, converted to a number, is the NaN value.
isNaN(0/0) + " " + isNaN("100") + " " + isNaN("foo")
true false true
### isFinite(arg)
True if arg is a finite number.
Core Library |  | Object
Copyright © 1998-2000 Caucho Technology. All rights reserved. Last modified: Thu, 16 Sep 1999 14:56:48 -0700 (PDT)