ParseError thrown

syntax error, unexpected token "}", expecting "," or ";"