how can i track down a function in the console? example: a function is set to display 30 seconds after page load, or on an element click event. or in the following example (live link below), how would i use the console to learn that my SayHi function is responsible for the console output "hi!"?:
function SayHi() {
console.log("hi!");
}
var trigger = document.getElementById("hi_trigger");
trigger.onclick = function () {
SayHi()
};