named function in javascript example Example: function js function myFunc(param) { return param } console.log(myFunc("Hello World"))