Re:GetElementById vs. QuerySelector
by snovv_crash on Tuesday November 30, 2021 @02:17PM
(#29396225)
No, it's a language issue. The language doesn't let you specify that things cannot go out of scope 'spookily', so it is ambiguous and you have to trust things like documentation. Just like it's easy to make memory management issues in C, this is the kind of thing that's easy to get wrong in JS.
[ Parent
| on HN ]
There are no comments on this comment yet.