---
title: "Discussion on \"Loops\" | Hashnode"
description: "Discussion on \"Loops\". If you want to print \"Hello World!\" 1000 times how will you do it? maybe you'll type console.log(\"Hello World!\") 1000 times or maybe you'll copy-paste it. but in javascript, there is an easy way to do this, which is loops.\nloops can execute blocks of..."
url: "https://hashnode.com/posts/loops/63f2e9faf163a320a064956f"
---

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

Discussion

# [Loops](https://paarthmane.hashnode.dev/loops?utm_source=hashnode&utm_medium=feed)

If you want to print "Hello World!" 1000 times how will you do it? maybe you'll type console.log("Hello World!") 1000 times or maybe you'll copy-paste it. but in javascript, there is an easy way to do this, which is loops. loops can execute blocks of...

Feb 20, 2023 · 4 min read · paarthmane.hashnode.dev  
Read the article

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

## Written by

[Parth](https://hashnode.com/@paarthmane)

@paarthmane

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

I'm a amateur web developer who knows little bit about programming !!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
