Merge pull request #481 from jacobherrington/patch-1
rephrase section describing old JavaScript code
This commit is contained in:
commit
cd70475e31
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ Comments before and after scripts.
|
||||||
//--></script>
|
//--></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
These comments were supposed to hide the code from an old browser that didn't know about a `<script>` tag. But all browsers born in the past 15+ years don't have any issues. We mention it here, because such comments serve as a sign. If you see that somewhere -- that code is probably really old and not worth looking into.
|
This trick isn't used in modern JavaScript. These comments were used to hide the JavaScript code from old browsers that didn't know about a `<script>` tag. Since browsers born in the last 15 years don't have this issue, this kind of comment can help you identify really old code.
|
||||||
|
|
||||||
|
|
||||||
## External scripts
|
## External scripts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue