Question: what is the default return value of a function in javascript?
Answer: A function without a return statement will return a default value. In the case of a constructor called with the new keyword, the default value is the value of its this parameter. For all other functions, the default return value is undefined . The parameters of a function call are the function's arguments.