Some sites using ES polyfills like Array.remove() and in some use cases children is an array, but it is passed to appendChild, where for-in look also loops over polyfilled props -> error
Denyskoch,
Thanks for your attention about this project :)
The ugly and non-working typeof has been fixed by recent commits. A new tagged version is available : 1.1.0.
typeof children == 'array'
is always false, since there is no type array (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof)