title: How to convert Persian and Arabic digits of a string to English using JavaScript?
body: <p>How can I convert Persian/Arabic numbers to English numbers with a simple function?</p>
  
  <pre><code>arabicNumbers = ["١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩", "٠"]
  persianNumbers = ["۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹", "۰"]
  </code></pre>
  
  <p>It is the same schema, but the code pages are different.</p>