|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: NaN] [Home] [Next: Built-in Functions and Operators]
This is the value of a variable that does not have a defined value, i.e. has not been assigned to.
Example:
var i; // ... if ( i == undefined ) { i = 77; }
In this example, if execution reaches the if statement, and i has not been assigned a value, it will be assigned the value 77.
[Prev: NaN] [Home] [Next: Built-in Functions and Operators]
Copyright © 2001-2006 Trolltech | Trademarks | QSA version 1.1.5
|