Premium

Implement lodash.get

By FrontendAtlas Editorial · Updated Jan 31, 2026

Challenge summary

Read a deeply nested value from dot or bracket path notation and return a documented fallback when it is absent.

What you'll practice

  • Normalize string and array path representations.
  • Distinguish a missing path from an existing undefined value according to the contract.
  • Traverse nullish intermediate values without throwing an error.

What Premium unlocks

Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.

Free related practice

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.