-
-
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
Incorrect type for Set in IE #380
Comments
How do you use |
You will have |
@zloirock I use core-js by babel-runtime@6.23.0 . I need serialize Set to object like {
type: getObjectType(obj),
value: [...set]
} and for deserialize for Set i need type. |
As I wrote, it's impossible in this case. If you need |
As an option, you can try |
@zloirock I have checked. I have include $.set-to-string-tag |
One more time: for adding support |
@zloirock I have 2 files, first it is polyfill for IE and looks like require("core-js/es7/string");
require("core-js/es6/array");
require("core-js/es6/string");
require("core-js/es7/array");
require("core-js/modules/es6.object.assign");
require("core-js/modules/$.set-to-string-tag");
window.Promise = require("core-js/library/fn/promise");// for webpack second it is application which build by webpack + babel. Is it may be reason why it doesn't work ? |
Because missed |
@zloirock in application file, I have |
|
BTW, please, never use |
@zloirock Thank you. It works. |
getObjectType(new Set())
In normal browser result [object Set] , but in IE 11 [object Object]
The text was updated successfully, but these errors were encountered: