We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80ec0d commit caafda2Copy full SHA for caafda2
lib/internal/quic/stats.js
@@ -299,13 +299,13 @@ class QuicSessionStats {
299
#disconnected = false;
300
301
/**
302
- * @param {symbol} privateSynbol
+ * @param {symbol} privateSymbol
303
* @param {BigUint64Array} buffer
304
*/
305
- constructor(privateSynbol, buffer) {
+ constructor(privateSymbol, buffer) {
306
// We use the kPrivateConstructor symbol to restrict the ability to
307
// create new instances of QuicSessionStats to internal code.
308
- if (privateSynbol !== kPrivateConstructor) {
+ if (privateSymbol !== kPrivateConstructor) {
309
throw new ERR_ILLEGAL_CONSTRUCTOR();
310
}
311
if (!isArrayBuffer(buffer)) {
0 commit comments