{"action":"reopened","issue":{"url":"https://api.github.com/repos/timoxley/functional-javascript-workshop/issues/167","repository_url":"https://api.github.com/repos/timoxley/functional-javascript-workshop","labels_url":"https://api.github.com/repos/timoxley/functional-javascript-workshop/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/timoxley/functional-javascript-workshop/issues/167/comments","events_url":"https://api.github.com/repos/timoxley/functional-javascript-workshop/issues/167/events","html_url":"https://github.com/timoxley/functional-javascript-workshop/issues/167","id":188903501,"number":167,"title":"exercises basic_filter","user":{"login":"caoxiaoshuai1","id":18112141,"avatar_url":"https://avatars.githubusercontent.com/u/18112141?v=3","gravatar_id":"","url":"https://api.github.com/users/caoxiaoshuai1","html_url":"https://github.com/caoxiaoshuai1","followers_url":"https://api.github.com/users/caoxiaoshuai1/followers","following_url":"https://api.github.com/users/caoxiaoshuai1/following{/other_user}","gists_url":"https://api.github.com/users/caoxiaoshuai1/gists{/gist_id}","starred_url":"https://api.github.com/users/caoxiaoshuai1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caoxiaoshuai1/subscriptions","organizations_url":"https://api.github.com/users/caoxiaoshuai1/orgs","repos_url":"https://api.github.com/users/caoxiaoshuai1/repos","events_url":"https://api.github.com/users/caoxiaoshuai1/events{/privacy}","received_events_url":"https://api.github.com/users/caoxiaoshuai1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-12T10:01:09Z","updated_at":"2016-11-12T10:07:53Z","closed_at":null,"body":"why the code below can't pass the workshop, I test it in other way but it works.\r\n```\r\nfunction getShortMessages(messages) {\r\n   // SOLUTION GOES HERE\r\n     return messages.filter(function(item) {\r\n    return item.length < 50\r\n  }).map(function(item) {\r\n    return item\r\n  })\r\n }\r\n\r\n module.exports = getShortMessages\r\n\r\n```\r\n\r\n"}}
{"actor":{"display_login":"caoxiaoshuai1"}}