New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Is there any other condition possible apart from "if else" for recursion functions?
1 Answer
0
How you telled you need conditions for break recursion and then you can use only conditional expressions then:
- if else
- switch
- condition ternary operator
That its