---
title: "Discussion on \"Binary Search in JavaScript\" | Hashnode"
description: "Discussion on \"Binary Search in JavaScript\". In this article, you will learn how to implement binary search in javascript both by recursively and iteratively"
url: "https://hashnode.com/posts/binary-search-in-javascript/6118cc92888ca15f5d38a510"
---

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

Discussion

# [Binary Search in JavaScript](https://shobit1337.hashnode.dev/binary-search-in-javascript?utm_source=hashnode&utm_medium=feed)

In this article, you will learn how to implement binary search in javascript both by recursively and iteratively

Aug 15, 2021 · 4 min read · shobit1337.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#array](https://hashnode.com/tag/array)

## Written by

[Shobit Deshwal](https://hashnode.com/@shobit1337)

@shobit1337 · Uttar Pradesh, India

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

Developer || Tech Enthusiast || Writer

I am a full-stack javascript developer, with around 2+ years of experience in web technologies like React, Node, Express, Tailwind, NextJS, and a lot more.

## Responses 2

Markdown supported · ⌘↵ to post

[Akshay Dhingra](https://hashnode.com/@akshaydhingra06)

[Aug 15, 2021](https://hashnode.com/posts/binary-search-in-javascript/6118cc92888ca15f5d38a510/comment/61196f13888ca15f5d38c4b4)

yeah, that's what quality a good coder has to be an explainer first and you explained well

[Ayush Kumar](https://hashnode.com/@ayushkumar158)

[Aug 15, 2021](https://hashnode.com/posts/binary-search-in-javascript/6118cc92888ca15f5d38a510/comment/6118ecf2888ca15f5d38ab67)

Awesome work @shobit
