hard20 pts · first answer countslocalisation-testingtest-scenarios
Arabic digits rejected
Requirement: Arabic-locale users may type amounts with Western (123) or Eastern Arabic (١٢٣) digits. The front end validates with the JavaScript regex below. What happens when a user types ١٥٠?
const isValid = /^\d+$/u.test(amount)
Discussion 0
Join free to post in the discussion.