---
title: "Discussion on \"filter empty element from an array\" | Hashnode"
description: "Discussion on \"filter empty element from an array\". In this post we will see how we can filter array of element without empty element which can be null or ''\nUsing javascript\nJavascript .filter() method creates a new array with all elements that pass the test implemented by the provided function.\narr ..."
url: "https://hashnode.com/posts/filter-empty-element-from-an-array/64226b7ca3c2ab85c443006f"
---

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

Discussion

# [filter empty element from an array](https://blog.przbadu.dev/filter-empty-element-from-an-array?utm_source=hashnode&utm_medium=feed)

In this post we will see how we can filter array of element without empty element which can be null or '' Using javascript Javascript .filter() method creates a new array with all elements that pass the test implemented by the provided function. arr ...

Jan 10, 2022 · 1 min read · blog.przbadu.dev  
Read the article

## Written by

[Pushpa Raj Badu](https://hashnode.com/@przbadu)

@przbadu

  
[View profile](https://hashnode.com/@przbadu)

Fullstack web developer

I am a full-stack Ruby on Rails developer with experience in PostgreSQL, Docker, Heroku, and performance optimization. I love exploring new technology stacks and have recently developed an interest in mobile app development using Flutter. My skills in test-driven development and fixing security vulnerabilities have helped me deliver high-quality, reliable code. I am also currently learning about machine learning and its applications in real-world problem-solving. I bring a unique combination of technical expertise, creative problem-solving, and a passion for learning to any team. I am committed to delivering elegant and efficient software solutions and excited to contribute to an innovative and dynamic team that shares this vision.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
