Using time using Settimeout and setinterval

Does anyone know of memory usage and possible memory leaks with javascript setTimeoutand functions setInterval?

Thank.

+3
source share
2 answers

IE7 can (and probably is) have leaks. chrome is less likely, but always possible. js are complicated. You can also create unknown amounts of timeouts and intervals that some memory can eat.

-1
source

clearTimeout() , , . , .

, , .

-1

Source: https://habr.com/ru/post/1757012/


All Articles