---
title: "Discussion on \"Recursive function vs while loop in javascript\" | Hashnode"
description: "Discussion on \"Recursive function vs while loop in javascript\". ...which is better?"
url: "https://hashnode.com/posts/recursive-function-vs-while-loop-in-javascript/63a0fae4986aa18969bac094"
---

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

Discussion

# [Recursive function vs while loop in javascript](https://blog.fmanimashaun.com/recursive-function-vs-while-loop-in-javascript?utm_source=hashnode&utm_medium=feed)

...which is better?

Dec 19, 2022 · 2 min read · blog.fmanimashaun.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#recursion](https://hashnode.com/tag/recursion)
-   [#javascript-while-loop](https://hashnode.com/tag/javascript-while-loop)

## Written by

[Engr. Animashaun Fisayo Michael](https://hashnode.com/@fmanimashaun)

@fmanimashaun · Lagos, Nigeria

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

Frontend Developer | Javascript programmer | Registered Mechanical Engineer (MNSE, COREN) | Facilities Management Technologies Developer

Frontend Developer | Javascript programmer | Registered Mechanical Engineer (MNSE, COREN) | Facilities Management Technologies Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
