how to refer to a function with parameters in javascript code example Example: how to create a function with parameters in JavaScript function name(param, param2, param3) { }