3 ms·
`parseInt(c.innerHTML)` and we're hacked... :D seriously though, I know HTMJS is tongue in cheek but don't ever do this if you are a JS dev. innerHTML isn't sa
by reactordev 3y ago
`parseInt(c.innerHTML)` and we're hacked... :D seriously though, I know HTMJS is tongue in cheek but don't ever do this if you are a JS dev. innerHTML isn't safe, sanitized, or what you expect it to contain. To the author, thanks for the laugh.