Get, creates an array of values corresponding to paths of the object
object
(object): input objectpath
(Array|string): string or an array of strings describing paths to be returned from an object[defaultValue]
(*): value returned when path resolves undefined
(*): value found by object paths in object, or returns defaultValue if provided and return would otherwise be undefined
const result = objects.get({ front: [1, 3, 5], back: [37, 39] });
console.log(result, 'back[1]');
> 39