Hi,
Here is an observation and a question. I noticed that when a mating curly bracket is left out of the code, like in an "if" statement, nothing on the entire .js page is executed.
if (something !== undefined) {
do something
} else {
do something else
}
Since the curly bracket that I neglected to type was in the middle of the page, I would assume that at least some of the code before that part of the function would get executed, but that does not seem to be the case.
Is this normal behaviour for JavaScript? If so, then the entire page must be analyzed before any of it is acted on.
Thanks,
Peter Koch