trekhleb / javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
MIT License
184.96k stars 29.83k forks source link

replaceChild method fixed #1104

Closed lpabinash closed 3 months ago

lpabinash commented 4 months ago

replaceChild method fixed

trekhleb commented 3 months ago

The this.nodeComparator.equal is used here for consistency. We may continue using it.