Skip to content
RED SAGSkills
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)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions