Creating Javascript objects three

Write a function that takes two arrays (a and b) as arguments. Create an object that has properties with keys from 'a' and corresponding values from 'b'. Return the object.
JavaScript
Console