markdown-js
markdown-js copied to clipboard
Uncaught SyntaxError: Unexpected token )
Showing Uncaught SyntaxError: Unexpected token ) in Google Chrome 40.0
It seems to be the problem of the keyword void.
Can you give us more info?
- What version were you using? Where did it come from?
- What function was this in?
- What was the input you gave it?
Thanks for replying. The version is the latest released version at GitHub. It was browser version and I used the minified one. I called markdown.toHTML and gave it a string for input. The string was plain text in markdown syntax. Everything seemed normal... The syntax error was reported in Chrome's console. I simply attempted to replace all void 0 with undefined keyword. Yet the error still exists. After all the output wasn't affected though.
May be You had missed the any one of the parameters that why this error came