If the code is correct, then it will. Just try it.
What happens when you do this in your VS Code:
console.info('My solution returned: ' + duplicateEncode("din"))
Maybe because there is no return keyword in your code at all? console.log and return are different.
console.log
return
Or maybe just post the code using proper code formatting?
After copying all your code, the answer is still the same: your solution does not return anything.
Your code doesn't return anything.
Loading collection data...
If the code is correct, then it will. Just try it.
What happens when you do this in your VS Code:
console.info('My solution returned: ' + duplicateEncode("din"))
Maybe because there is no return keyword in your code at all?
console.log
andreturn
are different.Or maybe just post the code using proper code formatting?
After copying all your code, the answer is still the same: your solution does not return anything.
Your code doesn't return anything.