Re: [whatwg] Confusion about node1.replace(node2)

On Mon, Jan 12, 2015 at 12:03 PM, Glen Huang <curvedmark@gmail.com> wrote:
> Or, the current algorithm of replace could be reversed, which should eliminate such confusion.

I think as James said that would leave the confusion. And given the
precedent in libraries, replaceWith() seems good.


-- 
https://annevankesteren.nl/

Received on Monday, 12 January 2015 12:38:22 UTC