0

Loops in function

guys i want to know that can we use loops in function.

19th Jul 2018, 7:23 AM
Gurpreet Singh
2 Réponses
0
Of course. A function can be thought as a block of code, so it can contain everything even another function declaration.
19th Jul 2018, 7:33 AM
LAWArthur
0
Yes, just try it in the playground.
19th Jul 2018, 8:16 AM
Matthias
Matthias - avatar