I am trying to understand anonymous functions but having a hard time. The function below is an anonymous function but I'm not sure how it would get called or used. I have looked all over the web but have not gotten a good explanation of how/when to use it. Please help.
var area1 = (function() {
var width = 5;
var height = 2;
return width*height;
}());
Thanks for any clarification that can be provided.