TypeScript |TypeScript Functions| Question2

Last Updated :
Discuss
Comments

What does the function keyword represent in TypeScript?

It defines a variable that can hold any value.

It creates a named function with parameters and return type.

It defines a class method.

It defines a constant value for a function expression.

Share your thoughts in the comments