Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Introduction to JavaScript Tutorial

By Neil Williams
2007-11-09


JavaScript Global Properties

Infinity
A numeric constant that represents infinity. (Covered by ECMA-262 but not supported by Navigator v4.)

NaN
A constant to indicate that a variable value is not a number. Use to prevent unpredictable results when such values are used in a numerical calculation. (Covered by ECMA-262 but not supported by Navigator v4.)

Global Functions

escape(string)
Encode a string for transmission.

eval(code)
Execute Javascript code from a string

getClass(javaObject)
Return the JavaClass of a JavaObject.

isFinite(number)
Check if a numerical value is finite.

isNaN
Check for the Not a Number value.

parseFloat(string)
Convert a string to a number. (Check for NaN first.)

unescape(string)
Decode an escaped string.



Tutorial Pages:
» It's flavours and versions
» Structure and syntax
» Data types and objects
» Functions and operators
» JavaScript Statements A-F
» JavaScript Statements G-Z
» JavaScript Events
» JavaScript Global Properties
» Javascript code to identify your browser
» Redirecting the browser once identified


Copyright © Neil Williams


 | Bookmark
Related Tutorials:
» JavaScript Debugging Techniques with Firebug
» Striped Tables Using JavaScript
» Opening PDFs in a New Window with JavaScript
» Essential Javascript -- A Javascript Tutorial
» Submit Forms Conditionally using JavaScript
» How to Setup a Randomising Function

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources