[codestyle] Corrected JSDoc.
[fix] Named anonymous function.