{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/11371","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/11371/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/11371/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/11371/events","html_url":"https://github.com/facebook/react-native/issues/11371","id":194337621,"number":11371,"title":"Exponentiation operator inconstancy w/o remote debugger","user":{"login":"jpclair","id":5188100,"avatar_url":"https://avatars.githubusercontent.com/u/5188100?v=3","gravatar_id":"","url":"https://api.github.com/users/jpclair","html_url":"https://github.com/jpclair","followers_url":"https://api.github.com/users/jpclair/followers","following_url":"https://api.github.com/users/jpclair/following{/other_user}","gists_url":"https://api.github.com/users/jpclair/gists{/gist_id}","starred_url":"https://api.github.com/users/jpclair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpclair/subscriptions","organizations_url":"https://api.github.com/users/jpclair/orgs","repos_url":"https://api.github.com/users/jpclair/repos","events_url":"https://api.github.com/users/jpclair/events{/privacy}","received_events_url":"https://api.github.com/users/jpclair/received_events","type":"User","site_admin":false},"labels":[{"id":192797868,"url":"https://api.github.com/repos/facebook/react-native/labels/Good%20First%20Task","name":"Good First Task","color":"5319e7","default":false},{"id":267325512,"url":"https://api.github.com/repos/facebook/react-native/labels/Help%20Wanted","name":"Help Wanted","color":"5319e7","default":false},{"id":257498156,"url":"https://api.github.com/repos/facebook/react-native/labels/JS","name":"JS","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-08T13:37:07Z","updated_at":"2016-12-09T07:01:12Z","closed_at":null,"body":"### Description\r\n\r\nthe exponentiation operator is functional with the remote debugger.\r\nChrome understands the ** expression, but when the execution is done inside the app an uncatched error occurs:\r\n\"Unhandled JS Exception: SyntaxError\"\r\n\r\n### Reproduction\r\n```\r\nrender() {\r\n    return (\r\n      <View>\r\n        <Text>{3 ** 3}</Text>\r\n      </View>\r\n    );\r\n```\r\nA) With \"JS remote debugging\"\r\n27 is visible\r\n\r\nB) Without \"JS remote debugging\"\r\n\"Unhandled JS Exception: SyntaxError\"\r\n\r\n### Solution\r\nAdd this line in the package.json dependencies:\r\n``` \r\nbabel-plugin-transform-exponentiation-operator \r\n```\r\n\r\n* React Native version: 0.39.0\r\n* Platform: both\r\n* Operating System: MacOS, Linux\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/265947465","html_url":"https://github.com/facebook/react-native/issues/11371#issuecomment-265947465","issue_url":"https://api.github.com/repos/facebook/react-native/issues/11371","id":265947465,"user":{"login":"ide","id":379606,"avatar_url":"https://avatars.githubusercontent.com/u/379606?v=3","gravatar_id":"","url":"https://api.github.com/users/ide","html_url":"https://github.com/ide","followers_url":"https://api.github.com/users/ide/followers","following_url":"https://api.github.com/users/ide/following{/other_user}","gists_url":"https://api.github.com/users/ide/gists{/gist_id}","starred_url":"https://api.github.com/users/ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ide/subscriptions","organizations_url":"https://api.github.com/users/ide/orgs","repos_url":"https://api.github.com/users/ide/repos","events_url":"https://api.github.com/users/ide/events{/privacy}","received_events_url":"https://api.github.com/users/ide/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T07:01:12Z","updated_at":"2016-12-09T07:01:12Z","body":"@hey99xx This is standard JavaScript now and easy to add in (unlike something like Proxies), I think we should just add this plugin to the standard preset."}}
{"actor":{"display_login":"ide"}}