how to call the function on js code example Example: how to call a function in JavaScript // calling our function displayGreeting();