How are lodash functions/methods implemented?

how are lodash functions/methods implemented? i.e where can I see the actual code that is executed when i call a method from the lodash library?

All the source code is available on github:

GitHub - lodash/lodash: A modern JavaScript utility library delivering modularity, performance, & extras.

A concept that may come up eventually (not sure if it does in the course) is destructuring assignment. We can employ only the bits of the lodash library we want with free standing functions…

At the bottom of the lodash code, paste this in and Save…

}
// just these two lines
const {invert} = _
console.log(invert({1:'one',2:'two',3:'three'}))
//
// Do not write or modify code below this line.

Now in the console type and enter,

node _.js

The output will appear immediately.

{ one: '1', two: '2', three: '3' }

There are many methods in the lodash library. We can include in the assignment object any that we wish. Be sure to separate the identifiers with commas.

const {invert, clamp, chunk}

Now those three methods are freestanding functions in our current namespace. We can do this inside another function, as well.