Clean Code and Node.js
blog.octo.com2 pointsby simon_renoult0 comments
function doFoo(bar) {
bar = (bar !== undefined) ? bar : "default_value";
}
Over : function doFoo(bar) {
bar = bar || "default_value";
}
Coercion avoidance ?
This is a great news for me.