mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
26944e159d
swc_ecma_transforms_base: - Reimplement `hygiene`.
24 lines
634 B
JavaScript
24 lines
634 B
JavaScript
var M1;
|
|
function _extends() {
|
|
return (_extends = Object.assign || function(target) {
|
|
for(var i = 1; i < arguments.length; i++){
|
|
var source = arguments[i];
|
|
for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
|
|
}
|
|
return target;
|
|
}).apply(this, arguments);
|
|
}
|
|
!function(M) {
|
|
var React;
|
|
M.React = React;
|
|
}(M1 || (M1 = {
|
|
})), (function(M) {
|
|
var foo;
|
|
React.createElement("div", _extends({
|
|
x: ""
|
|
}, foo, {
|
|
y: ""
|
|
})), React.createElement("div", null, "This \"quote\" thing");
|
|
})(M1 || (M1 = {
|
|
}));
|