Jake Archibald on Nostr: `el.className` and `el.htmlFor` have such unusual names because `class` and `for` ...
`el.className` and `el.htmlFor` have such unusual names because `class` and `for` used to be reserved words in JS. That hasn't been true for property names for 10+ years.
Firefox is experimenting with adding `el.class` and `el.for`, yay!
https://github.com/whatwg/html/issues/9379#issuecomment-2357214793
Firefox is experimenting with adding `el.class` and `el.for`, yay!
https://github.com/whatwg/html/issues/9379#issuecomment-2357214793