L
L
lavezzi12017-12-08 16:29:55
JavaScript
lavezzi1, 2017-12-08 16:29:55

How to track code in RAM memory?

Hello. A little strange question. For example, I created an interval

const intervalID = setInterval(() => console.log('Hi from console.'))
. Is it possible to somehow track that the intervalID exists and that it disappeared with the transition to another page and that it no longer exists for sure?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-12-08
@spacecrew

You can't access memory in js.
When you switch to another page, the interval will be deleted and the memory will be cleared automatically.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question