mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +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();
|