Correct comment in 1.13.1
Strictly speaking, there is no error here, as `typeof` does not produce errors with undefined variables.
This commit is contained in:
parent
dccca58f26
commit
4e9a33542f
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ Compare to regular script below:
|
|||
|
||||
<script>
|
||||
*!*
|
||||
alert(typeof button); // Error: button is undefined, the script can't see elements below
|
||||
alert(typeof button); // button is undefined, the script can't see elements below
|
||||
*/!*
|
||||
// regular scripts run immediately, before the rest of the page is processed
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue