ある場合は値を返し、別の場合は値を返さない関数を報告します。 これは通常、誤りです。

例:


function foo() {
  if (true)
    return 3;
  return;
}