Assignment via `;` in Safari
twitter.com
twitter.com
a = b = c = 4
Is totally valid, and assigns 4 to all three variables. It could cause all sorts of undefined behavior, and plenty of interesting, almost undetectable obfuscation. XSS is just the tip of the iceberg.