Last answered:

17 Nov 2022

Posted on:

14 Nov 2022

0

return function

what's return function mean ? or when should I use it ?

1 answers ( 0 marked as helpful)
Instructor
Posted on:

17 Nov 2022

1

Hi Youssef!
Thanks for reaching out.

The return statement is to exit a function and return a value.

Hope this helps.
Best,
Tsvetelin

Submit an answer

  • Javascript
  • Python
  • Ruby
  • PHP
  • Java
  • C
  • C#
  • C++
  • HTML
  • SQL
  • R
  • Shell