how to create a new function javascript code example Example: new function javascript var add = function(num1, num2) { return num1 + num2 }