Using loops to generate an object from an array of keys and an array of values in JavaScript

Published --