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

Unexpected token '>' and Unexpected token 'in' #45

Closed
Dexon95 opened this issue Aug 18, 2017 · 1 comment
Closed

Unexpected token '>' and Unexpected token 'in' #45

Dexon95 opened this issue Aug 18, 2017 · 1 comment

Comments

@Dexon95
Copy link

Dexon95 commented Aug 18, 2017

Hey, i'm having some trouble figuring out this problem. I'm not sure if this comes from this module or phantomjs.

These warnings are returned from little scripts on my test page
Unexpected token '>' :

function x(y, z){
  z(y);
}
x('Hey', cb => {
  console.log(cb);
});

Unexpected token 'in' :

var a = {"one": 1, "two": 2, "three": 3};
for(let i in a){
  console.log(a[i]);
}
@SamVerschueren
Copy link
Collaborator

Phantom does not work with ES6 features. Same like older browsers.

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

No branches or pull requests

2 participants