Why using :
function doFoo(bar) {
bar = (bar !== undefined) ? bar : "default_value";
}
Over : function doFoo(bar) {
bar = bar || "default_value";
}
Coercion avoidance ?