{"action":"created","issue":{"url":"https://api.github.com/repos/ga-dc/pbj-project1/issues/103","labels_url":"https://api.github.com/repos/ga-dc/pbj-project1/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/pbj-project1/issues/103/comments","events_url":"https://api.github.com/repos/ga-dc/pbj-project1/issues/103/events","html_url":"https://github.com/ga-dc/pbj-project1/issues/103","id":94966592,"number":103,"title":"How do I use the object constructor to get data from two existing variables?","user":{"login":"Walter-0","id":10503240,"avatar_url":"https://avatars.githubusercontent.com/u/10503240?v=3","gravatar_id":"","url":"https://api.github.com/users/Walter-0","html_url":"https://github.com/Walter-0","followers_url":"https://api.github.com/users/Walter-0/followers","following_url":"https://api.github.com/users/Walter-0/following{/other_user}","gists_url":"https://api.github.com/users/Walter-0/gists{/gist_id}","starred_url":"https://api.github.com/users/Walter-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Walter-0/subscriptions","organizations_url":"https://api.github.com/users/Walter-0/orgs","repos_url":"https://api.github.com/users/Walter-0/repos","events_url":"https://api.github.com/users/Walter-0/events{/privacy}","received_events_url":"https://api.github.com/users/Walter-0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-14T15:00:49Z","updated_at":"2015-07-14T15:46:05Z","closed_at":"2015-07-14T15:46:05Z","body":"https://github.com/Walter-0/project1/blob/master/script.js#L28-L31\r\n\r\nI'm trying to create an object, highScores, that takes data from two variables, user and finalScore, to create an object constructor that creates objects of each user and their score. I'm trying to make the High Score button alert this object and all key/value pairs inside it."},"comment":{"url":"https://api.github.com/repos/ga-dc/pbj-project1/issues/comments/121286300","html_url":"https://github.com/ga-dc/pbj-project1/issues/103#issuecomment-121286300","issue_url":"https://api.github.com/repos/ga-dc/pbj-project1/issues/103","id":121286300,"user":{"login":"jshawl","id":3824954,"avatar_url":"https://avatars.githubusercontent.com/u/3824954?v=3","gravatar_id":"","url":"https://api.github.com/users/jshawl","html_url":"https://github.com/jshawl","followers_url":"https://api.github.com/users/jshawl/followers","following_url":"https://api.github.com/users/jshawl/following{/other_user}","gists_url":"https://api.github.com/users/jshawl/gists{/gist_id}","starred_url":"https://api.github.com/users/jshawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshawl/subscriptions","organizations_url":"https://api.github.com/users/jshawl/orgs","repos_url":"https://api.github.com/users/jshawl/repos","events_url":"https://api.github.com/users/jshawl/events{/privacy}","received_events_url":"https://api.github.com/users/jshawl/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T15:46:05Z","updated_at":"2015-07-14T15:46:05Z","body":"yes! perfect! [object Object] is the string representation of a JS object. try using console.log to see its keys and values.\r\n\r\nclosing for now because your code looks right, but feel free to reopen"}}