+ 3
Unexpected JavaScript Error
This code showing a type error when run in Code Playground. I also added the link to Jquery script. This is the code where error is :- if (typeof dataText[i] == 'undefined'){ setTimeout(function() { StartTextAnimation(0); }, 20000); } Please help. Thanks in advance âș https://code.sololearn.com/WHG32mTD2tzj/?ref=app
1 RĂ©ponse
+ 3
change line 32 to this...
if (i < dataText.length)