Skip to content

Commit 6a80d05

Browse files
authored
doc: replace column with columnNumber in example of util.getCallSites
`column` is deprecated in favor of `columnNumber`. Refs: #56584 PR-URL: #60881 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent e42c6c8 commit 6a80d05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ function exampleFunction() {
576576
console.log(`Function Name: ${callSite.functionName}`);
577577
console.log(`Script Name: ${callSite.scriptName}`);
578578
console.log(`Line Number: ${callSite.lineNumber}`);
579-
console.log(`Column Number: ${callSite.column}`);
579+
console.log(`Column Number: ${callSite.columnNumber}`);
580580
});
581581
// CallSite 1:
582582
// Function Name: exampleFunction
@@ -613,7 +613,7 @@ function exampleFunction() {
613613
console.log(`Function Name: ${callSite.functionName}`);
614614
console.log(`Script Name: ${callSite.scriptName}`);
615615
console.log(`Line Number: ${callSite.lineNumber}`);
616-
console.log(`Column Number: ${callSite.column}`);
616+
console.log(`Column Number: ${callSite.columnNumber}`);
617617
});
618618
// CallSite 1:
619619
// Function Name: exampleFunction

0 commit comments

Comments
 (0)