Explore Library
Code QuizBeginner

Typing Arrow Functions

The arrow function declares a number return type but never returns anything.

Codetypescript
const multiply = (a: number, b: number): number => {
  a * b;
};

What is the bug in this arrow function?