mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
26 lines
368 B
JavaScript
26 lines
368 B
JavaScript
tag `\u`;
|
|
/\k<ws>(?<ws>\w+)/;
|
|
/(?<=a)/;
|
|
/(?<!b)/;
|
|
/\p{Number}/u;
|
|
/\P{Script=Greek}/u;
|
|
|
|
/./s;
|
|
|
|
let { ...props } = o;
|
|
o = { copy: true, ...props };
|
|
|
|
async function foo() {
|
|
for await (const line of readLines(filePath)) {
|
|
console.log(line);
|
|
}
|
|
}
|
|
async function* readLines(path) {
|
|
// ...
|
|
}
|
|
|
|
class C {
|
|
async *asyncMeth() {}
|
|
async *[Symbol.asyncIterator]() {}
|
|
}
|