import {something} from "./test-module.js";
import * from "./test-module.js";
export {something} from "./test-module.js";
export * from "./test-module.js";
import * as myModule from "./test-module.js";
export {myModule};
export * as {myModule} from "./test-module.js";
const bigInt = 112233445566778899n;
const bigInt = BigInt("112233445566778899");
const regExp = /yyds(\d+)/g;
const text = 'yyds1 is a very good yyds2';
let matches;
while ((matches = regExp.exec(text)) !== null) {
console.log(matches);
}
["yyds1","1"]
["yyds2","2"]
const regExp = /yyds(\d+)/g;
const text = 'yyds1 is a very good yyds2';
let matches = [...text.matchAll(regExp)];
for (const match of matches) {
console.log(match);
}