Anonymous functions are functions without a name. They are often used as arguments to other functions.

Syntax:
function(){
    //other logic
}

Example:
setTimeout(function () {
    console.log("Anonymous function executed!");
}, 1000);