Why can we have nested functions in JavaScript

;