`
// Your code here...
const originalConstructor = Function.prototype.constructor;
Function.prototype.constructor = function(...args) {
console.log("Function constructor called with arguments:", args);
if (args.length && args[0].includes("debugger")) {
console.warn("Attempt to use 'debugger' in Function constructor intercepted!");
args[0] = args[0].replace(/debugger/g, "console.log('debugger intercepted');");
return;
};
return originalConstructor.apply(this, args);
};
console.log("Function.prototype.constructor is now hooked!");
})();
</script>
`