Task

Using two Arrays of equal length, create a Hash object
where the elements from one array (the keys) are linked
to the elements of the other (the values)



Related task

   Associative arrays/Creation


function(keys,values)
  local t = {}
  for i=1, #keys do
    t[keys[i]] = values[i]
  end
end