Is there any difference between checking an array's length as a truthy value vs checking that it's > 0?
In other words is there any reason to use one of these statements over the other:
var arr = [1,2,3];
if (arr.length) {
}
if (arr.length > 0) {
}