toObj

Create an object from the pairs of key and value

Code

Example