var element = new Image();
Object.defineProperty(element, "id", {
get: function () {
console.log("debugger start")
debugger;
},
});
requestAnimationFrame(function check() {
console.dir(element);
requestAnimationFrame(check);
});
var element = new Image();
Object.defineProperty(element, "id", {
get: function () {
console.log("debugger start")
debugger;
},
});
requestAnimationFrame(function check() {
console.dir(element);
requestAnimationFrame(check);
});