{"action":"opened","issue":{"url":"https://api.github.com/repos/contra/node-linq/issues/13","repository_url":"https://api.github.com/repos/contra/node-linq","labels_url":"https://api.github.com/repos/contra/node-linq/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/contra/node-linq/issues/13/comments","events_url":"https://api.github.com/repos/contra/node-linq/issues/13/events","html_url":"https://github.com/contra/node-linq/issues/13","id":342768414,"node_id":"MDU6SXNzdWUzNDI3Njg0MTQ=","number":13,"title":"Distinct not working","user":{"login":"heliob","id":569029,"node_id":"MDQ6VXNlcjU2OTAyOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/569029?v=4","gravatar_id":"","url":"https://api.github.com/users/heliob","html_url":"https://github.com/heliob","followers_url":"https://api.github.com/users/heliob/followers","following_url":"https://api.github.com/users/heliob/following{/other_user}","gists_url":"https://api.github.com/users/heliob/gists{/gist_id}","starred_url":"https://api.github.com/users/heliob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heliob/subscriptions","organizations_url":"https://api.github.com/users/heliob/orgs","repos_url":"https://api.github.com/users/heliob/repos","events_url":"https://api.github.com/users/heliob/events{/privacy}","received_events_url":"https://api.github.com/users/heliob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-19T15:03:14Z","updated_at":"2018-07-19T15:03:14Z","closed_at":null,"author_association":"NONE","body":"I have this example code below:\r\n\r\n```\r\nvar LINQ = require('node-linq').LINQ;\r\nvar meuarr = [ \r\n{ \r\n    _REG: '0',\r\n    _NUMERO: '000000000000',    \r\n    _UF: 'SP',    \r\n    _REFERENCIA: '201707'\r\n},\r\n{ \r\n    _REG: '1',\r\n    _NUMERO: '995487',    \r\n    _UF: 'SP',    \r\n    _REFERENCIA: '201707'    \r\n}\r\n];\r\nvar arr = new LINQ(meuarr)                 \r\n    .OrderBy(function(linha){return linha._REFERENCIA})                           \r\n    .Select(function(linha){return {UF:linha._UF,REFERENCIA:linha._REFERENCIA}})                             \r\n    .Distinct()                        \r\n    .ToArray();\r\nconsole.log(arr);\r\n```\r\n\r\nbut I am faced by this error below:\r\n![image](https://user-images.githubusercontent.com/569029/42951036-af6fce9c-8b4b-11e8-9ede-1cce36325a04.png)\r\n\r\n\r\n"}}
{"actor":{"display_login":"heliob"}}