Put a as the animal property of call, and b as the mood property of call:
call = { animal: A, mood: B };
If the arrays are meant to be of strings, then make sure to put ' around each string, like
A = ['cat', ...
0
solved Make two arrays into json data