fix corner cases in keep_fnames (#5393)

This commit is contained in:
Alex Lam S.L
2022-03-28 20:01:01 +01:00
committed by GitHub
parent 15a4074d1a
commit 8922f08fbf
5 changed files with 35 additions and 13 deletions

View File

@@ -939,6 +939,8 @@ keep_fnames: {
class Foo {}
console.log(Foo.name, class Bar {}.name);
}
expect_stdout: "Foo Bar"
node_version: ">=4"
}
issue_805_1: {