---
title: "Discussion on \"What is a Recursion in Javascript?\" | Hashnode"
description: "Discussion on \"What is a Recursion in Javascript?\". It is normal for a function to call other functions in Javascript, including itself. When a function calls itself, it is known as a recursive function. Could you compare the examples below? In  Case 1, the funcA() function was called in funcB(). That..."
url: "https://hashnode.com/posts/what-is-a-recursion-in-javascript/677eb241c039acd6a20ac262"
---

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

Discussion

# [What is a Recursion in Javascript?](https://salaudeenabdu.hashnode.dev/what-is-a-recursion-in-javascript?utm_source=hashnode&utm_medium=feed)

It is normal for a function to call other functions in Javascript, including itself. When a function calls itself, it is known as a recursive function. Could you compare the examples below? In Case 1, the funcA() function was called in funcB(). That...

Jan 8, 2025 · 6 min read · salaudeenabdu.hashnode.dev  
Read the article

-   [#recursion](https://hashnode.com/tag/recursion)
-   [#recursion-in-programming](https://hashnode.com/tag/recursion-in-programming)
-   [#fibonacci](https://hashnode.com/tag/fibonacci)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Abdullah Salaudeen](https://hashnode.com/@AbdullahInBytes)

@AbdullahInBytes · Lagos, Nigeria

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

Front-end Developer and Technical Writer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
