{"action":"opened","issue":{"url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1281","repository_url":"https://api.github.com/repos/getify/You-Dont-Know-JS","labels_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1281/labels{/name}","comments_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1281/comments","events_url":"https://api.github.com/repos/getify/You-Dont-Know-JS/issues/1281/events","html_url":"https://github.com/getify/You-Dont-Know-JS/issues/1281","id":319907999,"number":1281,"title":"Types & Grammar - Chapter 2 : TypeError while reversing a string.","user":{"login":"animeshk874","id":26036974,"avatar_url":"https://avatars1.githubusercontent.com/u/26036974?v=4","gravatar_id":"","url":"https://api.github.com/users/animeshk874","html_url":"https://github.com/animeshk874","followers_url":"https://api.github.com/users/animeshk874/followers","following_url":"https://api.github.com/users/animeshk874/following{/other_user}","gists_url":"https://api.github.com/users/animeshk874/gists{/gist_id}","starred_url":"https://api.github.com/users/animeshk874/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/animeshk874/subscriptions","organizations_url":"https://api.github.com/users/animeshk874/orgs","repos_url":"https://api.github.com/users/animeshk874/repos","events_url":"https://api.github.com/users/animeshk874/events{/privacy}","received_events_url":"https://api.github.com/users/animeshk874/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T12:53:42Z","updated_at":"2018-05-03T12:53:42Z","closed_at":null,"author_association":"NONE","body":"https://github.com/getify/You-Dont-Know-JS/blob/master/types%20%26%20grammar/ch2.md#strings\r\nThere's a code in this section that tries to use the **Array.prototype.reverse** function to reverse a string.\r\n```\r\nArray.prototype.reverse.call( a );\r\n// still returns a String object wrapper (see Chapter 3)\r\n// for \"foo\" :(\r\n```\r\nThe comment says that it returns a **String object wrapper**. However, running it on Chrome 66 (and maybe other browsers too) gives a **TypeError**.\r\n\r\n\r\n![screenshot from 2018-05-03 18-21-27](https://user-images.githubusercontent.com/26036974/39577381-d5d32f18-4efe-11e8-93e0-a9399aee7ac4.png)\r\n"}}
{"actor":{"display_login":"animeshk874"}}