Function Within Function In Javascript Mdn Docs