KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a common Javascript/Coffeescript-specific idiom I can use to accomplish this? Mainly out of curiosity. I have two arrays, one consisting of the desired keys and the other one consisting of the desired values, and I want to merge this in to an object. keys = ['one', 'two', 'three'] values = ['a', 'b', 'c']
Tags (comma-separated)
Save Edits
Cancel