I have arabic string with some special signs:
const str = "- زيادة زمن التصويب تحت المنظار (+۱۰%)";
const arr = [];
for(let i=0;i<str.length;i++){
arr.push(str[i]);
}
console.log(arr);
But the result of that is a messed up array of:
['-', ' ', 'ز', 'ي', 'ا', 'د', 'ة', ' ', 'ز', 'م', 'ن', ' ', 'ا', 'ل', 'ت', 'ص', 'و', 'ي', 'ب', ' ', 'ت', 'ح', 'ت', ' ', 'ا', 'ل', 'م', 'ن', 'ظ', 'ا', 'ر', ' ', '(', '+', '۱', '۰', '%', ')']
Any idea how to maintain the order of each sign?