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: Vincent CotroStatus: PublishedQuestion passed 581 times
Edit
5
Community EvaluationsNo one has reviewed this question yet, be the first!