JS

TypeScript Quiz - type of the parameter

17.

What is the type of the parameter in the following function declaration: function ex(param1?: string){}?

any

string | undefined

undefined

string