sammich.js
Version:
Too many JavaScript files? Put 'em in a sammich.
32 lines (28 loc) • 474 B
JavaScript
/**
* Log the `sammich.js` intro.
*/
function logIntro() {
console.log(COPYRIGHT_SHORT);
logMotto();
console.log();
}
/**
* Log the `sammich.js` motto.
*/
function logMotto() {
console.log("\"" + MOTTO + "\"");
}
/**
* Log each `value` in an `Array`.
*/
function logArray(array) {
for (const value of array) {
console.log(value);
}
}
/**
* Log the `sammich.js` usage information.
*/
function logUsage() {
console.log(USAGE);
}