javascript log calling function code example Example: javascript log where function was called function Hello() { alert("caller is " + Hello.caller); }