# Computed property not working on IE8?

**URL:** <https://discuss.emberjs.com/t/computed-property-not-working-on-ie8/3627>\
**Category:** Uncategorized\
**Created:** [December 17, 2013, 1:56am UTC](https://discuss.emberjs.com/t/computed-property-not-working-on-ie8/3627 "2013-12-17T01:56:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jun\_Andrew\_Hu](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jun_andrew_hu/32/224_2.png) [@Jun\_Andrew\_Hu](https://discuss.emberjs.com/u/Jun_Andrew_Hu)\
**Post date:** [December 17, 2013, 1:56am UTC](https://discuss.emberjs.com/t/computed-property-not-working-on-ie8/3627/1 "2013-12-17T01:56:46Z")

</div>

I have the following simple test script:

```
Common.TestModel = Ember.Object.exted({
   displayName: Ember.computed(function() {
      return this.get('name') + ' display';
   }).property('')
});

var data = Ember.Object.create({name: 'name'});
var obj = Common.TestModel.create(data);
console.log(obj.get('displayName')); // This outputs "undefined" on IE8

```

It seems computed properties work properly on templates. Is there anything obvious I do not know here? Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Jun\_Andrew\_Hu](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jun_andrew_hu/32/224_2.png) [@Jun\_Andrew\_Hu](https://discuss.emberjs.com/u/Jun_Andrew_Hu)\
**Post date:** [December 17, 2013, 2:19am UTC](https://discuss.emberjs.com/t/computed-property-not-working-on-ie8/3627/2 "2013-12-17T02:19:11Z")

</div>

I figured out the reason. It is caused by some difference in get property behavior on IE8.
