creating a function w/ multiple parameters

PHOTO EMBED

Wed Apr 12 2023 17:34:00 GMT+0000 (Coordinated Universal Time)

Saved by @thecowsays #javascript

function mix(first, second, third) {
 return first + second + third;
}
const result = mix("big\n", "bad\n", "wolf\n");
console.log(result);
content_copyCOPY

Basic function syntax; will log each parameter to console on a new line (play around with it)