we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "create object out of array javascript"
Marco
22 Jan 2020
1Object.assign({}, ['a','b','c']); // {0:"a", 1:"b", 2:"c"}
2