diff --git a/lib/internal/quic/stats.js b/lib/internal/quic/stats.js index 36011c2c75539a..a612356250a06c 100644 --- a/lib/internal/quic/stats.js +++ b/lib/internal/quic/stats.js @@ -307,13 +307,13 @@ class QuicSessionStats { #disconnected = false; /** - * @param {symbol} privateSynbol + * @param {symbol} privateSymbol * @param {BigUint64Array} buffer */ - constructor(privateSynbol, buffer) { + constructor(privateSymbol, buffer) { // We use the kPrivateConstructor symbol to restrict the ability to // create new instances of QuicSessionStats to internal code. - if (privateSynbol !== kPrivateConstructor) { + if (privateSymbol !== kPrivateConstructor) { throw new ERR_ILLEGAL_CONSTRUCTOR(); } if (!isArrayBuffer(buffer)) {