alert()
is blockingalert()
cannot be easily suppressed in non-debug environmentconsole
typically formats your objects nicely and allows to traverse them- logging statements often have an interactive pointer to code which issued logging statement
- you cannot look at more than one
alert()
message at a time console
s can have different logging levels with intuitive formatting