Skip to content

Commit ddab13a

Browse files
committed
JS: Add a comment
1 parent 1a1b7d4 commit ddab13a

File tree

1 file changed

+1
-0
lines changed
  • javascript/extractor/lib/typescript/src

1 file changed

+1
-0
lines changed

javascript/extractor/lib/typescript/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ function checkCycle(root: any) {
107107
obj.$cycle_visiting = true;
108108
for (let k in obj) {
109109
if (!obj.hasOwnProperty(k)) continue;
110+
// Ignore numeric and whitelisted properties.
110111
if (+k !== +k && !astPropertySet.has(k)) continue;
111112
if (k === "$cycle_visiting") continue;
112113
let cycle = visit(obj[k]);

0 commit comments

Comments
 (0)