avand / sprinkles

A little sugar for your vanilla JS 🍦
MIT License
81 stars 6 forks source link

Add $forEach() to NodeList.prototype #3

Open avand opened 10 years ago

timmmichaud commented 10 years ago

:+1: :100:

timmmichaud commented 10 years ago

Here are some performance tests for the various implementations that can accomplish this: http://jsperf.com/convert-nodelist-to-array