describe-spot-instance request
instance-terminated-instance-terminated-
Let start with classyfing other programming paradigms:
Bubbling means that:
Everybody knows this classic way of handling events. We use it everyday
Nowadays JavaScript runs not only in browser but also in:
The oldschool & Classic way of animating content in using SetTimeout()
or setInterval()
.
But those function can heavily decrease performance. Browser wants to repaint screen in approximately 60FPS (or 16.6ms). But it’s not possible when the stack is not empty. Every call to mentioned functions put a task onto a queue, which is moved to a stack after a specified time. So it might happen that if you abuse them You may block UI. Play with it by adding junk to stack - in this case, a lot of factorial recursive calls.
In JavaScript closure is a basic way to enable data privacy. We start with formal definitions:
That’s my first post!