Created
October 1, 2017 08:13
-
-
Save sanketmeghani/0b189772e88e2579c17c6f59e4d5c32b to your computer and use it in GitHub Desktop.
Error due to automatic semicolon insertion
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
const sum = (a, b) => { | |
return | |
{ | |
result: a + b | |
} | |
} | |
const result = sum(1, 3) | |
console.log(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment