Es6でmapとfilterの違い

http://stackoverflow.com/questions/32040396/how-to-use-es6-fat-arrow-to-filter-an-array-of-objects

hoge.js

"use strict";

let animals = [
  { type: 'cat', name: 'Kitty'},
  { type: 'dog', name: 'Taro'},
  { type: 'fish', name: 'Poyo'},
];

console.log(animals.filter(v=>v.name==='Kitty'))

console.log(animals.map(v=>v.name==='Kitty'))
$ node hoge.js

[ { type: 'cat', name: 'Kitty' } ]
[ true, false, false ]