Explore Library
Code QuizBeginner

Too Many or Too Few Arguments

A two-parameter function is called with an extra argument.

Codetypescript
function add(a: number, b: number): number {
  return a + b;
}

const result = add(1, 2, 3);

What is the bug in this call?