I have a service accessing a MYSQL database, but the value returned by the server is stored as result.COUNT(*) (I'm counting the entries in a table), when I try to use this result, it seems to try and execute a function with the parameter *.
console.log(result[0].COUNT(*));
^
SyntaxError: Unexpected token '*'