react-native: Can't use binary number on android except on debug mode
On an empty project, write const aBinaryNumber = 0b01
somewhere in index.android.js, Android app will crash with SyntaxError: At least one digit must occur after a decimal point....
, on debug mode on iOS this runs with no problem.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 26 (24 by maintainers)
Commits related to this issue
- Fix Issue #7526: Install babel literals Added babel-plugin-transform-es2015-literals as per suggestion in Issue — committed to RobRoseKnows/react-native by RobRoseKnows 8 years ago
- Fix Issue #7526: Install babel literals Added babel-plugin-transform-es2015-literals as per suggestion in Issue — committed to RobRoseKnows/react-native by RobRoseKnows 8 years ago
- Issue #7526 Finishing Touches: babel-plugin-transform-es2015-literals - Was able to get react-native to build from source. - Following advice from @janicduplessis in Issue #7526 to add the `babel-plu... — committed to RobRoseKnows/react-native by RobRoseKnows 8 years ago
- Fixing Issue #7526 Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: Fixing a bug detailed in Issue #7526 where Android ap... — committed to facebook/react-native by RobRoseKnows 8 years ago
- Fixing Issue #7526 Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: Fixing a bug detailed in Issue #7526 where Android ap... — committed to iodine/react-native by RobRoseKnows 8 years ago
- Fixing Issue #7526 Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: Fixing a bug detailed in Issue #7526 where Android ap... — committed to HomePass/react-native by RobRoseKnows 8 years ago
Alright. I’m going to finish this up in the morning. I have finals.