Skip to content
Advertisement

Error in my script SyntaxError: missing ) after argument list [closed]

I have this script and he return this error in console SyntaxError: missing ) after argument list but i dont found where is the error in my code.

JavaScript

Advertisement

Answer

At the end of all your faceapi.nets. lines inside the big Promise.all, you end all the lines with just a comma rather than ending with ),. Since you are calling loadFromUri, you need to close the function before moving onto the next one.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement