Are the JavaScript code snippets given below some sort of function declaration? If not can someone please give an overview of what they are?
some_func = function
They are called anonymous functions; you can read more about them here:
http://www.ejball.com/EdAtWork/2005/03/28/JavaScriptAnonymousFunctions.aspx