---
title: "Discussion on \"A Quick Look at the find() Method in JavaScript\" | Hashnode"
description: "Discussion on \"A Quick Look at the find() Method in JavaScript\". (╯°□°)╯ .find()\n\nfind() is used to find an element that returns true depending on the condition we have.\nconst myArr = [1, 4, 6, 9]\n\nconst useFind = myArr.find(el => el === 4)\n// 4\n\nIn the example above we use find() to return the element thats === t..."
url: "https://hashnode.com/posts/a-quick-look-at-the-find-method-in-javascript/5f97ded6fe6a23273641a1a3"
---

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

Discussion

# [A Quick Look at the find() Method in JavaScript](https://davidbell.hashnode.dev/a-quick-look-at-the-find-method-in-javascript?utm_source=hashnode&utm_medium=feed)

(╯°□°)╯ .find() find() is used to find an element that returns true depending on the condition we have. const myArr = \[1, 4, 6, 9\] const useFind = myArr.find(el => el === 4) // 4 In the example above we use find() to return the element thats === t...

Oct 27, 2020 · 2 min read · davidbell.hashnode.dev  
Updated Mar 18, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#beginners-learningtocode-100daysofcode](https://hashnode.com/tag/beginners-learningtocode-100daysofcode)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[David Bell](https://hashnode.com/@davidbell)

@davidbell · Birmingham, England

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

Self taught developer, working with Nextjs, TypeScript, Graphql and React.

## Responses 1

Markdown supported · ⌘↵ to post

[Lize du Plessis](https://hashnode.com/@Lize)

[Jun 15, 2022](https://hashnode.com/posts/a-quick-look-at-the-find-method-in-javascript/5f97ded6fe6a23273641a1a3/comment/62a9871e0187d006b4f71978)

Very helpful and explained well (step-by step). Thank you!!
