js pv function code example Example: js function function name(parameter1, parameter2, parameter3) { // what the function does }