# \`DefineList\[Model\].map()\` confusing behavior

**URL:** <https://forums.bitovi.com/t/definelist-model-map-confusing-behavior/608>\
**Category:** CanJS\
**Created:** [April 20, 2017, 6:00am UTC](https://forums.bitovi.com/t/definelist-model-map-confusing-behavior/608 "2017-04-20T06:00:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithanaroy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/nithanaroy/32/225_2.png) [@Nithanaroy](https://forums.bitovi.com/u/Nithanaroy)\
**Post date:** [April 20, 2017, 6:00am UTC](https://forums.bitovi.com/t/definelist-model-map-confusing-behavior/608/1 "2017-04-20T06:00:07Z")

</div>

I have a `Report` model which has a list of `Event` models. Each of `Event` model instances has a `validate()` method which returns `true` or `false`.

When I execute `this.report.events.map(e => e.validate())` in a component’s view model, shouldn’t the result be an array of `true` or `false` values?

Am I missing anything on how `map()` behaves or is my Report model definition incorrect or something else?

Complete example here: [https://jsbin.com/duyile/edit?html,js,console,output](https://jsbin.com/duyile/edit?html,js,console,output)

---

<div class="post-metadata">

**Author:** ![chasen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/chasen/32/402_2.png) [@chasen](https://forums.bitovi.com/u/chasen)\
**Post date:** [April 29, 2017, 3:07am UTC](https://forums.bitovi.com/t/definelist-model-map-confusing-behavior/608/2 "2017-04-29T03:07:09Z")

</div>

Issue on GitHub: [https://github.com/canjs/canjs/issues/3181](https://github.com/canjs/canjs/issues/3181)
