If you compare the two, they look exactly the same: ;;
The first ; is a greek question mark, and the second ; is a normal semicolon.
The Greek question mark throws a SyntaxError: Unexpected token ILLEGAL in JavaScript, and probably throws errors in other languages as well. Make sure you're saving the code file in Unicode/UTF-8.