I’m having a demo where I need the frameRate to be set to 5.
But later on the demo I need to reset the frameRate to the default one.
I don’t want to set a fixed value
frameRate(30) as I want my frameRate to follow the default
requestAnimationFrame callback method.
How could I “reset” the frameRate to its initial value?