Monika Agarwal55 Points
the alert does not work as per the video.in my case both the alerts popped simultaneously one after the other
as per the video the sequence of the statements should be first alert then page and then alert .
Steven Parker207,979 Points
It could be the browser.
So it would make sense that with modern browsers, both alerts would be displayed as the program runs, but anything written to the page would not be seen until the program ended. The browser used in the video probably had a different behavior.
same with me i'm using chrome on w10
got that ;)