Good day, the question is solely for educational purposes:
var DomAPICanvas = document.createElement("canvas"); var jQueryCanvas = $("<canvas>"); console.log(DomAPICanvas.constructor); // HTMLElementCanvas function console.log(jQueryCanvas.constructor); // JQuery function
Actually, I understand perfectly why jQueryCanvas.constructor
behaves in this way (chaining), I am interested in the following: is there an opportunity to get the present values of the constructor? And if so, how?