I would like to join the values of 2 equal sized arrays and build a 3rd array similar to desired array below. Please advice as i am unable to find a javascript built-in method for this. The purpose of building this array is to create an array of custom primary keys.
const array1 = ['a', 'b', 'c'];
const array2 = ['d', 'e', 'f'];
Desired array3 = ['ad', 'be', 'cf']