3 ms·
I think it would hurt less with TypeScript global types. Just need to know what IDs you'd expect to find in the DOM.
by SpaceL10n 4y ago
I think it would hurt less with TypeScript global types. Just need to know what IDs you'd expect to find in the DOM.
- err4nt 4y agothe ID's in DOM will never conflict or cause an issue with your own JS code. You can't reliably use 'named access on the window object' (the name of this feature) because of this, so it's never a problem, and also largely useless.