-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
core-js-pure/features/set with custom objects #575
Comments
test.isSubsetOf(test2) |
@zloirock Thank you for clarifying here, that did work. However, the other issue I pointed out, you didn't address. Why aren't Sets with custom objects being populated when using |
@jml6m I can't understand what do you mean. |
In my post, you'll see the code I create a |
If you don't see it in your console, it does not mean that it's not created. It's just problems of your console. Try, for example, |
Seeing some errors. I have class Foo as such:
I'd like to use the
Set.isSubsetOf()
method but neithercore-js-pure/features/set
orcore-js/features/set
gives me fully what I want:The method works, but my Sets aren't being populated. If I use
core-js/features/set
on the same code, here is what the console prints:I'm pretty sure
core-js-pure/features/set
is the correct import but something is going on with the constructor.The text was updated successfully, but these errors were encountered: