3 ms·Hobbit vs. Giant: A Tiny Example of Using Closures in Javascript1 points by nonrecursive 15y agononrecursive 15y agoI threw this together this afternoon to give an example of how one might use a closure in javascript.