1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Object creation using ES2019's Object.fromEntries method

    javascriptJavaScript

    This lesson shows how to use ES2019's Object.fromEntries method to convert [key,value] array pairs stored inside of a Map into an object.

    Following this, we'll check out how we can use Object.fromEntries along with Object.entries to implement lodash's pick and invert functions using native JavaScript.