Question from the Typescript - Overview test

Write a function in TypeScript that takes a number as input and returns its square.

Easy

How to correctly declare and initialize a function in TypeScript that takes a number as input and returns its square?

Author: Clément DevosStatus: Published(Update)Question passed 51 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!