Make an object from a 2D array of key-value pairs (bonus: it's a one-liner!)
To make an object from a 2D array of key-value pairs in JavaScript, use the following pattern:    Obj...
Tags: javascript, es6, programming