I have found an extremely simple and nice trick for using the Safari JavaScript console: the window.console object. It provides a couple of interesting functions:
for(var a in window.console) {
window.console.log(typeof window.console[a] + ':' + window.console[a]);
}
function:function profileEnd()
function:function count()
function:function assert()
function:function warn()
function:function info()
function:function profile()
function:function trace()
function:function timeEnd()
function:function dir()
function:function log()
function:function dirxml()
function:function error()
function:function debug()
function:function time()
function:function group()
function:function groupEnd()
I couldn’t find these functions documentation though.
You can read some more notable news on JavaScript.