Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f7745a

Browse filesBrowse files
SeokhunEomaduh95
authored andcommitted
lib: fix typo in QuicSessionStats
Corrects the misspelling of "privateSynbol" to "privateSymbol". PR-URL: #60155 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 68f6780 commit 4f7745a
Copy full SHA for 4f7745a

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎lib/internal/quic/stats.js‎

Copy file name to clipboardExpand all lines: lib/internal/quic/stats.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,13 +299,13 @@ class QuicSessionStats {
299299
#disconnected = false;
300300

301301
/**
302-
* @param {symbol} privateSynbol
302+
* @param {symbol} privateSymbol
303303
* @param {BigUint64Array} buffer
304304
*/
305-
constructor(privateSynbol, buffer) {
305+
constructor(privateSymbol, buffer) {
306306
// We use the kPrivateConstructor symbol to restrict the ability to
307307
// create new instances of QuicSessionStats to internal code.
308-
if (privateSynbol !== kPrivateConstructor) {
308+
if (privateSymbol !== kPrivateConstructor) {
309309
throw new ERR_ILLEGAL_CONSTRUCTOR();
310310
}
311311
if (!isArrayBuffer(buffer)) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.