Interestingly, errors in Chrome in the same function — apparently rendering continues however. Guessing the problem is that the line: points += `${s.x} ${s.y}, `; is adding an extra `, ` to the end of the string causing the assignment/parse that follows to fail.
Comments (169) 64 threads
Show all comments
Showing thread 26 of 64
Interestingly, errors in Chrome in the same function — apparently rendering continues however.
Guessing the problem is that the line: points += `${s.x} ${s.y}, `;
is adding an extra `, ` to the end of the string causing the assignment/parse that follows to fail.