mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
transforms: fix _typeof helper
This commit is contained in:
parent
81caf41bf6
commit
6b03c659ca
@ -1,3 +1,3 @@
|
||||
var _typeof = function (obj) {
|
||||
return obj && obj.constructor === Symbol ? "symbol" : typeof obj;
|
||||
};
|
||||
var _typeof = function(obj) {
|
||||
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
||||
};
|
Loading…
Reference in New Issue
Block a user