An update on this: although the conversation somewhat fizzled here, in io.js
(Node.js fork) something very similar is landing and I'm trying to guide it
toward being reasonably compatible with browsers [1]. Additionally several
promise libraries have implemented similar hooks (see [2] and links
Bjoern Hoehrmann derhoe...@gmx.net writes:
* Glen Huang wrote:
When someone says A replace B, I get the impression that B is no longer
in effect and A is the new one. So when I do `node1.replace(node2)`, I
can’t help but feel node2 is replaced with node1, which is the opposite
of what the