Importieren Sie alle aus JavaScript
import * as module from "./module.js";
YaKiCode
import * as module from "./module.js";
import * as util from "./util";
util.importAll(util, global);
function importAll(sourceScope, targetScope) {
for (let name in sourceScope) {
targetScope[name] = sourceScope[name];
}
}