Example Of Recursive Function In Js