minor clean-up (#5209)

This commit is contained in:
Alex Lam S.L
2021-12-08 21:14:57 +00:00
committed by GitHub
parent bc27966a19
commit d11c82f8ca
3 changed files with 50 additions and 5 deletions

View File

@@ -363,6 +363,28 @@ negate: {
}
inline_this: {
options = {
inline: true,
}
input: {
var p = "PASS";
console.log({
p: "FAIL",
q: (() => this.p)(),
}.q);
}
expect: {
var p = "PASS";
console.log({
p: "FAIL",
q: this.p,
}.q);
}
expect_stdout: "PASS"
node_version: ">=4"
}
dont_inline_this: {
options = {
inline: true,
}