---
title: "Discussion on \"Repeating Actions with Loops\" | Hashnode"
description: "Discussion on \"Repeating Actions with Loops\". Sometimes In our program we want to repeat some action multiple times.\nfor-ex  I want to console.log(\"Hello world\") 4 times.\nThe hard way to do that would be to wrote code again and again. this code \nworks but the idea of programming is to make thing..."
url: "https://hashnode.com/posts/repeating-actions-with-loops/61ecdbba5fbc177f9f3b5ff6"
---

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

Discussion

# [Repeating Actions with Loops](https://lovekush.hashnode.dev/repeating-actions-with-loops?utm_source=hashnode&utm_medium=feed)

Sometimes In our program we want to repeat some action multiple times. for-ex I want to console.log("Hello world") 4 times. The hard way to do that would be to wrote code again and again. this code works but the idea of programming is to make thing...

Jan 23, 2022 · 2 min read · lovekush.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#coding](https://hashnode.com/tag/coding)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[LoveKush Rajput](https://hashnode.com/@lovekush)

@lovekush · Dharamshala,Himanchal pradesh

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

Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
