{"action":"opened","issue":{"url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/324","repository_url":"https://api.github.com/repos/teropa/build-your-own-angularjs","labels_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/324/comments","events_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/324/events","html_url":"https://github.com/teropa/build-your-own-angularjs/issues/324","id":137148922,"number":324,"title":"P197","user":{"login":"shibamo","id":10733741,"avatar_url":"https://avatars.githubusercontent.com/u/10733741?v=3","gravatar_id":"","url":"https://api.github.com/users/shibamo","html_url":"https://github.com/shibamo","followers_url":"https://api.github.com/users/shibamo/followers","following_url":"https://api.github.com/users/shibamo/following{/other_user}","gists_url":"https://api.github.com/users/shibamo/gists{/gist_id}","starred_url":"https://api.github.com/users/shibamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shibamo/subscriptions","organizations_url":"https://api.github.com/users/shibamo/orgs","repos_url":"https://api.github.com/users/shibamo/repos","events_url":"https://api.github.com/users/shibamo/events{/privacy}","received_events_url":"https://api.github.com/users/shibamo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-29T04:40:58Z","updated_at":"2016-02-29T04:40:58Z","closed_at":null,"body":"Error reported in lines below, looks the cause is that the map function in current lodash removed the third argument (see https://lodash.com/docs#map):\r\n\r\n```\r\ncase AST.ArrayExpression:\r\n  var elements = _.map(ast.elements, function(element) {\r\n    return this.recurse(element); //Error happens here\r\n  }, this);\r\n  return '[]';\r\n```\r\ncould change to this common way:\r\n```\r\ncase AST.ArrayExpression:\r\n  var that = this;\r\n  var elements = _.map(ast.elements, function(element) {\r\n    return this.recurse(element); //Error happens here\r\n  }, that);\r\n  return '[]';\r\n```\r\n"}}