Created
January 6, 2018 04:25
-
-
Save alangpierce/fd23a8b89cf656e4892d6580afc4eac3 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
class Giraffe { | |
if (ENABLE_LOUD_GIRAFFES) { | |
roar() { // <- Unexpected token, expected ; (3:11) | |
return 'ROAR!!!'; | |
} | |
} else { | |
roar() { | |
return 'roar...'; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment