Forum Discussion
TrevorLaForce-a
5 years agoCommunity Member
Javascript That Works - Throwing Errors & Failing?
Hi all,
I have a course I've published to SCORM on our LMS.
There are various scripts that run in the course, from printing to generating a date to social sharing to a custom data collection t...
MathNotermans-9
5 years agoCommunity Member
Javascript errors tend to mess up projects easily. Debug and test continuously. A single typo can mess up everything... A javascript error not perse needs to make your complete course not working... depends somewhat on the type of error. If a variable mismatches and its not used in critical processes the course may run normally with only returning null or undefined for that variable. If in your code returning null or undefined is managed properly eg. an if statement or case switch that makes sure the code wont stop and sets the variable to a default... then your projects flow will be uninterrupted.