Testing below:
// Feel free to play with the code. :) function Hey(phrase) { phrase = phrase || "Hey"; return console.log(phrase); } window.onLoad = function() { Hey(); Hey("Jude"); Hey("Don't make it bad."); }