
Accessing deeply nested data safely is a common challenge. Let's build a utility that handles missing properties gracefully.
get(obj, path, defaultValue)path is a string like "user.profile.name"defaultValue if any part is missing_.get()Submit your code to see test results