return
🎁 Sends the result back from a function
Exits a function and hands back a value.
中文对照 · Chinese
🎁 机器加工完后递出来的成品礼物
把函数内部算好的答案交回给调用它的地方,并结束函数运行。
Code example
return x * x;Explore 100 bilingual word cards →
Exits a function and hands back a value.
🎁 机器加工完后递出来的成品礼物
把函数内部算好的答案交回给调用它的地方,并结束函数运行。
return x * x;Explore 100 bilingual word cards →