|
-
Feb 25th, 2003, 01:10 PM
#1
Thread Starter
Hyperactive Member
JavaScript Option Explicit Equivalent
-
Feb 25th, 2003, 01:49 PM
#2
Member
Not really. The best you can do is declare all your variables with var. When evaluating an unassigned variable without var, the evaluation results in a runtime error. If the unassigned variable was declared with var, the evaluation results in the undefined value, or NaN in numeric contexts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|