What distinguishes checking an array's length as a truthy value from verifying that it is greater than zero?
In simple terms, is there any advantage in utilizing one of these conditions over the other:
var arr = [1,2,3];
if (arr.length) {
}
if (arr.length > 0) {
}