Coderwall
Ruby
Python
JavaScript
Front-End
Tools
iOS
More
Tips
Ruby
Python
JavaScript
Front-End
Tools
iOS
PHP
Android
.NET
Java
Jobs
Jobs
Sign In or Up
Joined February 2017
·
hlung
hlung
0 Protips
1 Comments
Posted to
Don't use innerHTML to empty DOM elements
over 1 year ago
Can you share why removeChild is faster than emptying innerHTML?
Achievements
1 Karma
0 Total ProTip Views
Can you share why removeChild is faster than emptying innerHTML?