I have to pass return value of an anonymous function as a argument to another function hello1()
hello1 = function(x,m) { console.log(m) };
return $(this).each(function() {
var self = this;
hello1(something , function(){ return(this); });
});
When i do console.log(m) it shows … return(this); instead of the object
m is a function, so to get its result you must call it.