In JavaScript , for example , the factor function can be defined via anonymous recursion as such :
In JavaScript , for example , the factorial function can be defined as anonymous using such a recursion :