Continuing the discussion from Show in div input value + option select:
Like @Paul_Wilkins I too have pretty much moved away from using getElementById().
Because querySelector can target elements by their id, as well as a whole lot more - virtually anything that can be targeted with CSS selectors - getElementById does seem to be moot now that browser support is not an issue.
Paul brought up a good question. Are there any good reasons to use getElementById instead of querySelector?
I have not researched nor done any benchmark testing, but the only thing I can think of is that maybe browsers “index” elements with id values so that “getting” them is less resource intensive and faster than “selecting” them. But even if this were to be true, I have a hard time imagining it to be any more than a negligible difference.