I tried searching it up on the internet but I don't find anything relevant.
Is there a way to call a function upon program termination in Javascript similar to the functionality of atexit() in C++?
I tried searching it up on the internet but I don't find anything relevant.
Is there a way to call a function upon program termination in Javascript similar to the functionality of atexit() in C++?