Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Octal Literal err in strict mode #57

Merged
4 commits merged into from Mar 8, 2018
Merged

Fixes Octal Literal err in strict mode #57

4 commits merged into from Mar 8, 2018

Conversation

ghost
Copy link

@ghost ghost commented Aug 28, 2016

screen shot 2016-08-27 at 11 14 35 pm

As you can see from the error in my console, Octal literals are not allowed in strict mode. Hence, I used the parseInt function to fix this. It appears that es6 has some ways to remedy this without a parseInt function, but for now this will fix the issue.

(Using node 6.3.1)

@johnrees
Copy link

johnrees commented Sep 5, 2017

Just ran into this when compiling a project with babel. Will this or another fix get merged?

@ghost ghost added this to the v0.8.4 milestone Nov 7, 2017
@ghost
Copy link
Author

ghost commented Mar 8, 2018

@johnrees It seems that there wasn't much activity recently, apologies! Merging this in now 👍

@ghost ghost merged commit 67b4e77 into bruce:master Mar 8, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant