I have an array of letters:
const letters = [\'a\',\'b\',\'c\',\'d\'];
I also have a function which takes a string argument letter