There are two arrays, for example: ['i','b'] and ['и','б']
It is necessary to replace characters from the first array with characters from the second array. More precisely, to i = и , etc.
Example:
var firstArray = ['d','e','v','e','l','o','p','e','r']; var secondArray = ['д','е','в','е','л','о','п','е','р']; thirdArray needs to thirdArray values from secondArray . As a result, the thirdArray should be equal to ['д','е','в','е','л','о','п','е','р']
I tried to somehow replace , but failed. Therefore, I am writing here
firstArray = secondArray, I think you did not correctly formulate the question. - Raz GalstyanthirdArraya la['h','e','l','l','o','w','o','r','l','d'], and the first and second arrays are a ru-en match. But this is only a guess) - Alexey Shimansky