{"action":"created","issue":{"url":"https://api.github.com/repos/loverajoel/jstips/issues/124","labels_url":"https://api.github.com/repos/loverajoel/jstips/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/loverajoel/jstips/issues/124/comments","events_url":"https://api.github.com/repos/loverajoel/jstips/issues/124/events","html_url":"https://github.com/loverajoel/jstips/pull/124","id":127652805,"number":124,"title":"#Easy forEach operation","user":{"login":"sekaiamber","id":10176695,"avatar_url":"https://avatars.githubusercontent.com/u/10176695?v=3","gravatar_id":"","url":"https://api.github.com/users/sekaiamber","html_url":"https://github.com/sekaiamber","followers_url":"https://api.github.com/users/sekaiamber/followers","following_url":"https://api.github.com/users/sekaiamber/following{/other_user}","gists_url":"https://api.github.com/users/sekaiamber/gists{/gist_id}","starred_url":"https://api.github.com/users/sekaiamber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sekaiamber/subscriptions","organizations_url":"https://api.github.com/users/sekaiamber/orgs","repos_url":"https://api.github.com/users/sekaiamber/repos","events_url":"https://api.github.com/users/sekaiamber/events{/privacy}","received_events_url":"https://api.github.com/users/sekaiamber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/loverajoel/jstips/labels/tip-proposal","name":"tip-proposal","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-20T10:31:38Z","updated_at":"2016-01-21T10:24:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/loverajoel/jstips/pulls/124","html_url":"https://github.com/loverajoel/jstips/pull/124","diff_url":"https://github.com/loverajoel/jstips/pull/124.diff","patch_url":"https://github.com/loverajoel/jstips/pull/124.patch"},"body":"using a simple regular expression to make an easy `forEach` operation. :)"},"comment":{"url":"https://api.github.com/repos/loverajoel/jstips/issues/comments/173528044","html_url":"https://github.com/loverajoel/jstips/pull/124#issuecomment-173528044","issue_url":"https://api.github.com/repos/loverajoel/jstips/issues/124","id":173528044,"user":{"login":"sekaiamber","id":10176695,"avatar_url":"https://avatars.githubusercontent.com/u/10176695?v=3","gravatar_id":"","url":"https://api.github.com/users/sekaiamber","html_url":"https://github.com/sekaiamber","followers_url":"https://api.github.com/users/sekaiamber/followers","following_url":"https://api.github.com/users/sekaiamber/following{/other_user}","gists_url":"https://api.github.com/users/sekaiamber/gists{/gist_id}","starred_url":"https://api.github.com/users/sekaiamber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sekaiamber/subscriptions","organizations_url":"https://api.github.com/users/sekaiamber/orgs","repos_url":"https://api.github.com/users/sekaiamber/repos","events_url":"https://api.github.com/users/sekaiamber/events{/privacy}","received_events_url":"https://api.github.com/users/sekaiamber/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T10:24:52Z","updated_at":"2016-01-21T10:24:52Z","body":"@mallowigi @strcmp Yes, you are right:). I think `forEach` is more readable. This tip more like a promise of code style in a project:) It may reduce the code size, and use the regular expression to do other things. See [this](https://github.com/RubyLouvre/avalon/blob/master/avalon.js#L3340) and [this](https://github.com/RubyLouvre/avalon/blob/master/avalon.js#L1113) is use to instead of `.split(',')`.  \r\n\r\nThanks for the point :)"}}