Thursday, May 3, 2018

Callback

Things go well until they don't . Need to figure out callback functions
(a function that runs after another has completed). Sounds easy enough:
run alert Hello after my random array has been created. In fact, Hello keeps
repeating for every turn of the randomizer function. Long day ahead...

                                      *     *      *

Acutally, it was simple. Just call 'sayHello' first and 'randomizer' as a subroutine
within it!!


No comments: