You can over-write the replaceChild method of an element.
Hmm.. why is this a bug? There's no reason that you should not be able to override functions on objects if you want to, is there?
maybe it's not a bug. I mistakenly thought this was a unique case.
Nope, not a bug. You can do the same with any DOM methods...