Just as a stylistic note ... even though it looks like this line isn't even part of the commit, the line took me a while to grok. Could just be me, but it'd be much easier to read if it were two separate statements, e.g.

```javascript
obj[prop] = val;
return obj;
```