3 ms·
As per another comment, this is the problematic line: points += `${s.x} ${s.y}, `; It has an extra comma at the end. Safari throws when passed to: c.setAttribu
by lioeters 4y ago
As per another comment, this is the problematic line: points += `${s.x} ${s.y}, `;
It has an extra comma at the end. Safari throws when passed to: c.setAttribute('points', points)
- JKCalhoun 4y agoYeah, Chrome don't like either, but apparently Chrome does not throw.