I can\'t come up with a solution and therefore I would like to ask for help. I have a list of names:
var listNames = [\'John\', \'William\', \'James\', \'Geor