drawdia js function code example Example: function js function myFunc(param) { return param } console.log(myFunc("Hello World"))