Set type for function parameters?

No, JavaScript is not a statically typed language. Sometimes you may need to manually check types of parameters in your function body.

Leave a Comment