Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.