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 bfc81ca commit 4daeec1Copy full SHA for 4daeec1
lib/internal/quic/stats.js
@@ -307,13 +307,13 @@ class QuicSessionStats {
307
#disconnected = false;
308
309
/**
310
- * @param {symbol} privateSynbol
+ * @param {symbol} privateSymbol
311
* @param {BigUint64Array} buffer
312
*/
313
- constructor(privateSynbol, buffer) {
+ constructor(privateSymbol, buffer) {
314
// We use the kPrivateConstructor symbol to restrict the ability to
315
// create new instances of QuicSessionStats to internal code.
316
- if (privateSynbol !== kPrivateConstructor) {
+ if (privateSymbol !== kPrivateConstructor) {
317
throw new ERR_ILLEGAL_CONSTRUCTOR();
318
}
319
if (!isArrayBuffer(buffer)) {
0 commit comments