Learn Recursion by Building a Decimal to Binary Converter - Step 31

Tell us what’s happening:

I am getting this error:
“You should log the text Inputs: and the inputs array to the console, separated by a comma.”
Please need help on how to resolve this issue?

Your code so far

I have tried all these so far:
console.log("Inputs: "+inputs );
console.log(“Inputs: “+inputs +”,”);
console.log(“Inputs: “+inputs .join(”,”));

1 Like

Your first try was the best, but instead of separating them with a comma you separated them with a plus sign.


Thank you so much! I didn’t think of it like this.


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.