self.resultList.forEach(function(item, index, enumerable){ console.log(self.resultList); item.id=11; item.get('id'); });
an element like this: 
if item.id = 11; an exception like this:
Assertion failed: you must use Ember.set () to access this property (from [object Object])
therefore item.get ('id') or item.set ('id', 11)
exception like this
Uncaught TypeError: Object # does not have a 'get' method
This member is not an Ember? Object. What is an item?
can someone tell me how to change the value of itme.id ..
Thanks a million
source share