Show alert messages in firebug

By: Johnathon Wright on: October 26, 2009

A cool javascript trick:


alert = console.log

then


alert('hello')

will show up in Firebug instead of an alert screen:


"hello"



Back