---
title: "Discussion on \"While loop In javascript Explained by Krishna Pathak\" | Hashnode"
description: "Discussion on \"While loop In javascript Explained by Krishna Pathak\". When you're writing JavaScript code, you'll often come across situations where you need to do something repeatedly. That's where loops come in handy, and one of the most basic types is the while loop.\nHow Does it Work?\nA while loop is like a little w..."
url: "https://hashnode.com/posts/while-loop-in-javascript-explained-by-krishna-pathak/650079d25ce6d93ba8f2f7e0"
---

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

Discussion

# [While loop In javascript Explained by Krishna Pathak](https://krishnapathak.hashnode.dev/while-loop-in-javascript-explained-by-krishna-pathak?utm_source=hashnode&utm_medium=feed)

When you're writing JavaScript code, you'll often come across situations where you need to do something repeatedly. That's where loops come in handy, and one of the most basic types is the while loop. How Does it Work? A while loop is like a little w...

Sep 12, 2023 · 2 min read · krishnapathak.hashnode.dev  
Read the article

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

## Written by

[Krishna Pathak](https://hashnode.com/@Krishna99)

@Krishna99

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

Learning Web development and exploring other fields also

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
