window.addEventListener('resize', reportWindowSize);
window.addEventListener('resize', functionName);
window.addEventListener('resize', function(event) { ... }, true);