I have two arrays, one for the players names :
players_name = ['John','Paul','Jack',...]
And another for the points of the players :
points = [23,13,18,...]
And I would like to know if it was possible to (not manually) transform this two arrays into an object that would look like this :
players_results = {
'John': { point: 23},
'Paul': { point: 13},
'Jack': { point: 18},
}
Thanks !