{"comment":{"url":"https://api.github.com/repos/AWare/vblidate/comments/16878154","html_url":"https://github.com/AWare/vblidate/commit/1dbc77c0dcd5aeca316f9aafd1f0780df1faa239#commitcomment-16878154","id":16878154,"user":{"login":"joelochlann","id":5122968,"avatar_url":"https://avatars.githubusercontent.com/u/5122968?v=3","gravatar_id":"","url":"https://api.github.com/users/joelochlann","html_url":"https://github.com/joelochlann","followers_url":"https://api.github.com/users/joelochlann/followers","following_url":"https://api.github.com/users/joelochlann/following{/other_user}","gists_url":"https://api.github.com/users/joelochlann/gists{/gist_id}","starred_url":"https://api.github.com/users/joelochlann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelochlann/subscriptions","organizations_url":"https://api.github.com/users/joelochlann/orgs","repos_url":"https://api.github.com/users/joelochlann/repos","events_url":"https://api.github.com/users/joelochlann/events{/privacy}","received_events_url":"https://api.github.com/users/joelochlann/received_events","type":"User","site_admin":false},"position":19,"line":19,"path":"main.js","commit_id":"1dbc77c0dcd5aeca316f9aafd1f0780df1faa239","created_at":"2016-03-29T13:57:13Z","updated_at":"2016-03-29T13:57:13Z","body":"Until [Set](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Set) is more widely supported, I would use an object as opposed to array to avoid duplicates. You could then return `Object.keys()` at the end\r\n\r\n```javascript\r\nfor (var i = 0; i < tests.length; i++) {\r\n  var name = tests[i].getAttribute('data-test-name')\r\n  names[name] = true;\r\n}\r\nreturn Object.keys(names);\r\n```"}}