Syntax Checker
The Syntax Checker finds basic JavaScript errors
- Missing characters such as [ and }
- Missing ; at the end of JavaScript statements
- Incomplete arguments in for loops
- Bad function calls
Does not find
- Typos in variable names
- Typos in function calls
- Typos in method calls
Cannot determine if the script works as expected
As with all programming editors and tools, the Syntax Checker cannot find all errors in a script.
Any valid JavaScript will pass the Syntax Check even if the code does not do what you intended.
NOTE: some script types will save with syntax errors (Workflow scripts) and others will not