It is a function that was declared without any function named identifier to refer to it. It is usually not accessible after its initial creation. These functions are created at run time.

Normal funtion

function helloFunction() {
    alert("Hello this is bestinterviewquestion.com");
}

Anonymous function

var helloFunction = function()
{
    alert("Hello this is bestinterviewquestion.com");
}
helloFunction();

BY Best Interview Question ON 09 Dec 2020