Skip to content

Commit caafda2

Browse files
SeokhunEomaduh95
authored andcommitted
lib: fix typo in QuicSessionStats
Corrects the misspelling of "privateSynbol" to "privateSymbol". PR-URL: #60155 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent d80ec0d commit caafda2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎lib/internal/quic/stats.js‎

Lines 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
thrownewERR_ILLEGAL_CONSTRUCTOR();
310310
}
311311
if(!isArrayBuffer(buffer)){

0 commit comments

Comments
(0)