Created
August 24, 2015 11:38
-
-
Save shigemk2/6301b392008f9af846d6 to your computer and use it in GitHub Desktop.
This file contains 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
function a() { return "hoge"; } | |
function b() { eeee eeee } // SyntaxError: Unexpected identifier | |
(5 <= 6) ? console.log(a()) : console.log(b()); | |
// (5 >= 6) ? console.log(a()) : console.log(b()); // エラー |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment