---
title: "Comment by Iroegbu Iroegbu on \"setTimeout() - an edge case\" | Hashnode"
description: "Do you think using BigInt will solve the original problem instead of using setInterval ?"
url: "https://hashnode.com/posts/settimeout-an-edge-case/5f53c7e0fee30a7c48c0a7b2/comment/5f5410bafee30a7c48c0aa10"
---

[Discussion](https://hashnode.com/posts/settimeout-an-edge-case/5f53c7e0fee30a7c48c0a7b2)

Comment [setTimeout() - an edge case](https://hashnode.com/posts/settimeout-an-edge-case/5f53c7e0fee30a7c48c0a7b2)

[Iroegbu Iroegbu](https://hashnode.com/@iroegbu)

[Sep 5, 2020](https://hashnode.com/posts/settimeout-an-edge-case/5f53c7e0fee30a7c48c0a7b2/comment/5f5410bafee30a7c48c0aa10)

Do you think using [BigInt](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) will solve the original problem instead of using `setInterval`?

[Divyajyoti Ukirde](https://hashnode.com/@divyajyotiuk)

[Sep 7, 2020](https://hashnode.com/posts/settimeout-an-edge-case/5f53c7e0fee30a7c48c0a7b2/comment/5f5410bafee30a7c48c0aa10#reply-5f55e2d31417481575399868)

Since, I don't know the maximum time, I would avoid using any timer at all!
