Created
February 29, 2012 22:35
-
-
Save paulbaumgart/1945036 to your computer and use it in GitHub Desktop.
Quiz: what does this HTML file display when rendered?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
<!-- | |
//<script></script> not displayed | |
--> | |
//<script></script> displayed | |
</script> | |
<br /> | |
<script> | |
<!-- | |
var a,b; | |
//<script></script> not displayed | |
a-- >b; | |
//<script></script> not displayed | |
a-->b; | |
//</script> displayed | |
</script> | |
<br /> | |
<script> | |
<!-- | |
//<script><script></script></script> displayed | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also: