Last post Feb 26, 2018 02:17 AM by Eric Du
Feb 25, 2018 04:01 PM|anooshiravan|LINK
I encounter an error in the js debugger of browsers like chrome and firefox that say:
"Expected an expression but got )"
I searched the internet and learned that something like this might have happened:
but the link to the place where the error has happened doesn't really show my the error...it's an empty line in the code.
any suggestions on how to find where the error has happened?
thanks in advance
Feb 26, 2018 02:17 AM|Eric Du|LINK
According to your description and code, may be you want to call the JS function, but this function needs parameter, check need how many parameters? if only need one parameter, please remove , , like functionname(3); if need two
parameters, please add the second parameter after ,.
About how to debug JS code and check which line caused error, please check this tutorial: