---
title: "Discussion on \"Window setTimeout() in JavaScript\" | Hashnode"
description: "Discussion on \"Window setTimeout() in JavaScript\". The setTimeout() function is similar to the setInterval() method in JavaScript. The only difference is that this method does not execute repeatedly. This method calls the function after a specific period only once.\nWe can write this method with a win..."
url: "https://hashnode.com/posts/window-settimeout-in-javascript/63a9627a76f421e1a234852e"
---

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

Discussion

# [Window setTimeout() in JavaScript](https://prashanthandel.hashnode.dev/window-settimeout-in-javascript?utm_source=hashnode&utm_medium=feed)

The setTimeout() function is similar to the setInterval() method in JavaScript. The only difference is that this method does not execute repeatedly. This method calls the function after a specific period only once. We can write this method with a win...

Dec 26, 2022 · 2 min read · prashanthandel.hashnode.dev  
Read the article

-   [#settimeout](https://hashnode.com/tag/settimeout)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#css](https://hashnode.com/tag/css)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Prashant Handel](https://hashnode.com/@prashanthandel)

@prashanthandel · Indore, India

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

Frontend Developer

I'm a self taught web developer and a learner as well. I am sharing my experiences and knowledge here with a hope to help those who are beginners as sharing helps to grow together.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
