<div dir="ltr">I see people do this and I&#39;m not sure why. Is there any technical advantage to defining a function inside another, assuming it could be defined outside and used inside?<div><br></div><div>Thanks!</div><div><br></div><div>Leam</div></div>