---
title: "Discussion on \"Scheduling: setTimeout() and setInterval() in JS\" | Hashnode"
description: "Discussion on \"Scheduling: setTimeout() and setInterval() in JS\". Introduction\nA block of JavaScript code is generally executed synchronously. There will be situations when you will want to delay the execution. Or, you may want to repeat the execution in specific intervals.\nThe setTimeout()  and setInterval() are t..."
url: "https://hashnode.com/posts/scheduling-settimeout-and-setinterval-in-js/62d7e64fca829b4aca5661a9"
---

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

Discussion

# [Scheduling: setTimeout() and setInterval() in JS](https://mukeshbishnoi.hashnode.dev/scheduling-settimeout-and-setinterval-in-js?utm_source=hashnode&utm_medium=feed)

Introduction A block of JavaScript code is generally executed synchronously. There will be situations when you will want to delay the execution. Or, you may want to repeat the execution in specific intervals. The setTimeout() and setInterval() are t...

May 20, 2022 · 3 min read · mukeshbishnoi.hashnode.dev  
Read the article

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

## Written by

[Mukesh Bishnoi](https://hashnode.com/@bishnoimukesh)

@bishnoimukesh · Bangalore

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

FrontEnd Developer (Aspiring FullStack Developer)

Passionate engineer who loves building, breaking and learning stuff. Looking for opportunities to work in a fast paced learning &amp; growth environment. Currently focus on Frontend development,

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
