Recipe:

Setting multiple properties at once


Problem

You want to set multiple properties on an object with a single method call.

Solution

Use the setProperties method of Ember.Object.

js person.setProperties({ name: 'Gavin', age: 36 })