educative.io

My version of JS Code shows tests output correctly, yet shows tests failed

Hello,

canVote() JS function needed to be solved. I wrote my version which I verified in chrome browser console, it works fine. In your tests, the expected output and actual output matches, yet my tests show failed.
Please suggest if I am missing something.

Thanks,
Pranjal


Course: Rediscovering JavaScript: ES6, ES7 & ES8 - Learn Interactively
Lesson: Exercise 1: Let's Vote - Rediscovering JavaScript: ES6, ES7 & ES8

Hi Pranjal,

Can you please share your version of the code with me? So that I can check on my end and fix the issue.

Thank you so much for pointing this out and for your kindness.

Regards,
Munim