Interviewer And Interviewee Guide

Front End Developer (AngularJS) Interview Question:

Explain me what is an anonymous function?

Submitted by: Muhammad
Anonymous functions are functions without a name. They are stored in a variable and are automatically invoked (called) using the variable name.


var x = function(a, b) {
console.log(a * b)
}

x(3, 5); // 15
Submitted by: Muhammad

Read Online Front End Developer (AngularJS) Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.