How to check if an array is empty in JavaScript?

How to check if an array is empty in JavaScript?

More to explore

Based on this image's title: “How to check if an array is empty in JavaScript?