minor clean-ups (#5282)

This commit is contained in:
Alex Lam S.L
2022-01-10 05:02:26 +00:00
committed by GitHub
parent 4b949f6686
commit caaa753861
7 changed files with 30 additions and 17 deletions

View File

@@ -11,6 +11,21 @@ async_arrow: {
node_version: ">=8"
}
async_computed: {
input: {
var o = {
async [42]() {
return this.p;
},
p: "PASS",
};
o[42]().then(console.log);
}
expect_exact: 'var o={async[42](){return this.p},p:"PASS"};o[42]().then(console.log);'
expect_stdout: "PASS"
node_version: ">=8"
}
async_label: {
input: {
(async function() {