Why does it return “undefined” instead of the result from the function, i.e one of the console log expressions based on my arguments?

前端 未结 0 1684
北海茫月
北海茫月 2021-01-29 21:40

Based on the arguments passed in (10, 20), I would expect it would return "Omg" when invoked. Why do I get "undefined"?

function ifko (a, b) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题