I came across this code in one of our online AngularJS apps, and was wondering what this does. Is it different than just calling a immediately self invoking function with parenthesis.
}).call(this); // What was in TFS
})(); // Are these the same?
Is there any benefits of calling one over the other, or is it merely coding preference?
© 2016 Powered by mzan.com design MATCHINFO