Publicis Sapient interview question

Output-based JS questions like recurssion and other things by not using inbuilt JS functionality