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