mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
11 lines
383 B
JavaScript
11 lines
383 B
JavaScript
import * as s from "./mod";
|
|
module.exports.n = {
|
|
}, module.exports.n.K = function() {
|
|
this.x = 10;
|
|
}, module.exports.Classic = function _class() {
|
|
"use strict";
|
|
(function(instance, Constructor) {
|
|
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
})(this, _class), this.p = 1;
|
|
}, new s.n.K().x, new s.Classic();
|