Skip to content
Why am I Getting an Illegal Signature Function Call Within JavaScript?
Profile icon
[deleted]

Once I call my function called "main," from /script.js, I get an error, why?
The code seems perfectly valid, in every single way.

You are viewing a single comment. View All
Answered by fuzzyastrocat [earned 5 cycles]
View Answer
Profile icon
[deleted]

@PattanAhmed Updated, it should log the string before throwing the syntax error, can you confirm?