Inspectopedia
 
2024.3

Anonymous function

Warning
Code Style
New
Last modified: 03 December 2024

Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a name property specified in the ECMAScript 6 standard. For example, var bar = function() {}; is not reported.