emberjs/ember.js — Issue #505: Ember.fetch(key, default)
Author: jbrown
Created: 2012-02-16 18:03:44+00:00
State: open

It's `Ember.get` that returns a default when the property is not set just like [Hash#fetch](http://www.ruby-doc.org/core-1.9.3/Hash.html#method-i-fetch) in Ruby.

```javascript
return currentSelection ? currentSelection.get("value") : null;
// vs.
return currentSelection.fetch("value", null);
```

Is there any interest in this?