let function run(){
console.log(event.target)
};
document.getElementById("id").onclick=run;
document.getElementById("id").click()target,
run()target
run.call(document.getElementById("id")):-sharp-sharp-sharp
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)