---
title: "Discussion on \"How to check if an array is empty using Javascript?\" | Hashnode"
description: "Discussion on \"How to check if an array is empty using Javascript?\". We continue with Flexiple's tutorial series to explain the code and concept behind common use cases. In this article, we will solve for a specific case: To check if an array is empty using Javascript.\nWhere can we use this?\nYou might find this useful..."
url: "https://hashnode.com/posts/how-to-check-if-an-array-is-empty-using-javascript/5fa69e040163314ab6d7ef3d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to check if an array is empty using Javascript?](https://tutorials-kept-simple.hashnode.dev/how-to-check-if-an-array-is-empty-using-javascript?utm_source=hashnode&utm_medium=feed)

We continue with Flexiple's tutorial series to explain the code and concept behind common use cases. In this article, we will solve for a specific case: To check if an array is empty using Javascript. Where can we use this? You might find this useful...

Nov 7, 2020 · 5 min read · tutorials-kept-simple.hashnode.dev  
Read the article

-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array](https://hashnode.com/tag/array)

## Written by

[Tutorials kept Simple](https://hashnode.com/@tutorials-kept-simpl)

@tutorials-kept-simpl

  
[View profile](https://hashnode.com/@tutorials-kept-simpl)

## Responses 1

Markdown supported · ⌘↵ to post

[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 ?
