Question from the Typescript - Overview test

Typescript: What is the inferred type of the result variable?

Easy

Given the following TypeScript code, what is the inferred type of the result variable?

const a: number = 5;
const b: string = 'hello';
const result = a + b;
Author: Vincent CotroStatus: PublishedQuestion passed 853 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!