Note: This and all further examples presume a function named console.log() is defined globally. The console.log() function is not actually a part of JavaScript itself, but many browsers implement it to aid in debugging.