-
-
Save petarbojic/eff5dc1459deb915e2692fb38f85d4dc to your computer and use it in GitHub Desktop.
JavaScript Lexer Ambiguity
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
| x = top in/is; //alert(1) | |
| x = top in/is; /* alert(2) */ y = x/is; | |
| x = top in/is; /* | |
| alert(3) | |
| */ y = x/is; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment