---
title: "Comment by Roger Colque Calcina on \"How to check if an array is empty using Javascript?\" | Hashnode"
description: "works with array[0]!=null ?"
url: "https://hashnode.com/posts/how-to-check-if-an-array-is-empty-using-javascript/5fa69e040163314ab6d7ef3d/comment/5fa70aad0163314ab6d7f468"
---

[Discussion](https://hashnode.com/posts/how-to-check-if-an-array-is-empty-using-javascript/5fa69e040163314ab6d7ef3d)

Comment [How to check if an array is empty using Javascript?](https://hashnode.com/posts/how-to-check-if-an-array-is-empty-using-javascript/5fa69e040163314ab6d7ef3d)

[Roger Colque Calcina](https://hashnode.com/@rogergcc)

[Nov 7, 2020](https://hashnode.com/posts/how-to-check-if-an-array-is-empty-using-javascript/5fa69e040163314ab6d7ef3d/comment/5fa70aad0163314ab6d7f468)

works with array\[0\]!=null ?
