DEV Community

Discussion on: 7 Killer JavaScript One-Liners that you must know

Collapse
 
dovey21 profile image
Somtochukwu Nnaji • Edited

Nice tips but i think that the #tip5 should've being

console.log(arr1IsEmpty); //output - true
console.log(arr2IsEmpty); // output - false