This example uses the HTML DOM to assign an "onresize" event to the body element.
Try to resize the browser window.
Window resized 0 times.