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

Bonfire: Mutations does not understand Sets. #3168

Closed
holon-holon opened this issue Sep 8, 2015 · 1 comment
Closed

Bonfire: Mutations does not understand Sets. #3168

holon-holon opened this issue Sep 8, 2015 · 1 comment

Comments

@holon-holon
Copy link

Webpage does not understand Sets, returning only an empty set.

e.g.

function mutation(arr) {
  var testSet = new Set(); testSet.add(1);
  return testSet;
}

returns {}

@BerkeleyTrue
Copy link
Contributor

We currently have no way of supporting es6 collections. They are either supported or not depending on your browser. Also, you cannot simply console.log an es6 collection as it will just print an empty object (which is the default behavior).

Please stick to es5 and plain Array's for the time being.

Happy Coding!

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