The two ways to create functions both use the
function keyword, so the differences between them aren’t immediately apparent.
Variable declarations and function declarations operate similarly. They start with a keyword (
function), followed by an identifier. Function declarations add lists ...