deoxxa / dotty

Access properties of nested objects using dot-path notation
BSD 3-Clause "New" or "Revised" License
128 stars 20 forks source link

get(obj, key, [default]) #7

Open rgarcia opened 11 years ago

rgarcia commented 11 years ago

It'd be nice to have a fallback value, similar to python's dictionary get method.

esco commented 8 years ago

:+1: