rsnext/packages/next/build/swc/tests/full/example/output.js
Donny/강동윤 ddcfab4447
Update swc (#30426)
Co-authored-by: kdy1 <kdy1@users.noreply.github.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2021-10-27 16:55:35 +02:00

36 lines
1.1 KiB
JavaScript

import a from "other";
function _arrayWithHoles(a) {
if (Array.isArray(a)) return a;
}
function _classCallCheck(a, b) {
if (!(a instanceof b)) throw new TypeError("Cannot call a class as a function");
}
function _iterableToArrayLimit(a, b) {
var c = [], d = !0, e = !1, f = void 0;
try {
for(var g, h = a[Symbol.iterator](); !(d = (g = h.next()).done) && (c.push(g.value), !b || c.length !== b); d = !0);
} catch (i) {
e = !0, f = i;
} finally{
try {
d || null == h.return || h.return();
} finally{
if (e) throw f;
}
}
return c;
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance");
}
function _slicedToArray(a, b) {
return _arrayWithHoles(a) || _iterableToArrayLimit(a, b) || _nonIterableRest();
}
var _other = _slicedToArray(a, 1), foo = _other[0], Foo = function() {
"use strict";
_classCallCheck(this, Foo);
};
export var __N_SSG = !0;
export default function a() {
return React.createElement("div", null);
};