Anonymous Method in JS

What are anonymous methods? Anonymous methods are the methods which have no name. As they have no name so they can only be called at the time of their definition. Example of an anonymous function: function(){ //do something }(); The above method is anonymous method and we can call it once. Also we can pass … Continue reading Anonymous Method in JS