Javascript Void In Chrome Console Strange Syntaxerror Unexpected

Javascript Void In Chrome Console Strange Syntaxerror Unexpected