You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project says "deeply clone arbitrary objects", so clone() not working on HTML element objects seems like a bug.
To reproduce the TypeError: let someImage = new Image(); let copiedImage = clone(someImage);
I expected a cloned HTMLImageElement, but console outputs: TypeError: 'set alt' called on an object that does not implement interface HTMLImageElement.
The text was updated successfully, but these errors were encountered:
The project says "deeply clone arbitrary objects", so
clone()
not working on HTML element objects seems like a bug.To reproduce the TypeError:
let someImage = new Image();
let copiedImage = clone(someImage);
I expected a cloned HTMLImageElement, but console outputs:
TypeError: 'set alt' called on an object that does not implement interface HTMLImageElement.
The text was updated successfully, but these errors were encountered: