An anonymous function is a function that was declared without any named identifier to refer to it . As such, an anonymous function is usually not accessible after its initial creation. Normal function definition: function hello() { alert(‘Hello world’); } hello();