Code QuizBeginner

Optional and Default Parameters

Find the illegal combination of an optional marker and a default value.

Codetypescript
function greet(name?: string = "Guest") {
  console.log("Hi " + name);
}

What is the bug in this code?