I have two arrays in an App Script project, one with a user email and their last login date, and one with their email and license type. I'd like to combine these two arrays into an array where each item has their email, last login, and license.
It's not guaranteed that the arrays will be in the same order.
Example:
Array 1: [[[email protected], Google-Apps, 1010020020],[[email protected], Google-Apps, 1010020020]
Array 2: [[[email protected], 12/31/1969],[[email protected], 12/31/1969]]
becomes
Array 3: [[[email protected], 12/31/1969, Google-Apps, 1010020020],[[email protected], 12/31/1969, Google-Apps, 1010020020]]
I tried several of the methods described in this post and this post but they seem to be ES6 and throw errors when I run them.