Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 1afad1c

Browse files
committed
Test with a method (property?) named constructor.
1 parent b61bb84 commit 1afad1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

languages/tree-sitter-stack-graphs-javascript/test/base_syntax.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import "foo";
1111
debugger;
1212
var x;
1313
let x;
14+
let x = {
15+
get constructor() {}
16+
};
1417
function foo() { }
1518
function foo(a) { }
1619
function foo(undefined) { }

0 commit comments

Comments
 (0)