Try the question here: devtools.tech/questions/s/implement-a-credit-card-masker-or-klarna-frontend-interview-question-or-javascript---qid---AdZLcjN3FNivgYCuq5pa Solve question with us: www.topmate.io/yomeshgupta
Why does the test case include numbers less than 6 ? Masking would only be done after card number validation logic right? Unless there are some countries which have a card number less than 6 then it makes sense. Could you please share the info if the site is open source or how we can contribute to this platform? Thanks for sharing your knowledge.
6 length check is based on the requirements provided by the company that asked the question. The platform is free for all but not open source. You can contribute by sharing the question/video with your friends and colleagues. You can reach out to us via team.devtools@gmail.com if you have any questions, suggestions, or feedback!