/js-console.log

In how many ways can you print in the console 50 times?

Primary LanguageJavaScript

In how many ways can you print in the console 50 times

I was asked at an interview how to print in the console "Hello World" 50 times in as few lines as possible while not using loops. I, of course, answered: recursion.

Well... this lead me to this: in how many ways can you print in the console 50 times ?

Let's find out!