Javascript Why Window Load Event Occurs Before Img Is Loaded Stack

Javascript Why Window Load Event Occurs Before Img Is Loaded Stack