public/lib/emberjs/ember.js
function makeArray(obj) {
      if (obj === null || obj === undefined) { return []; }
      return isArray(obj) ? obj : [obj];
    }
function makeArray(obj) {
      if (obj === null || obj === undefined) { return []; }
      return isArray(obj) ? obj : [obj];
    }
function makeArray ( obj ) { if ( obj === null || obj === undefined ) { return [ ] ; } return isArray ( obj ) ? obj : [ obj ] ; }
Forces the passed object to be part of an array. If the object is already
an array or array-like, returns the object. Otherwise adds the object to
an array. If obj is `null` or `undefined`, returns an empty array.

```javascript
Ember.makeArray();            // []
Ember.makeArray(null);        // []
Ember.makeArray(undefined);   // []
Ember.makeArray('lindsay');   // ['lindsay']
Ember.makeArray([1, 2, 42]);  // [1, 2, 42]

var controller = Ember.ArrayProxy.create({ content: [] });

Ember.makeArray(controller) === controller;  // true
```

@method makeArray
@for Ember
@param {Object} obj the object
@return {Array}
Forces the passed object to be part of an array . If the object is already an array or array - like returns the object . Otherwise adds the object to an array . If obj is null or undefined returns an empty array .