Bug fix:
Thank for @trungphan ,
This version will not throw an error when remove an element that has no parent.
It's consistent with browser implementation.
Bug fix:
Thank for @trungphan ,
This version will not throw an error when remove an element that has no parent.
It's consistent with browser implementation.