Skip to content
Permalink
Browse files

dgram: use for...of

PR-URL: #30999
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
trivikr authored and BridgeAR committed Dec 14, 2019
1 parent 37ffa8c commit 21ef3d615ef6c13d62626926205ddfcae4359512
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/dgram.js
@@ -532,8 +532,8 @@ function clearQueue() {
state.queue = undefined;

// Flush the send queue.
for (let i = 0; i < queue.length; i++)
queue[i]();
for (const queueEntry of queue)
queueEntry();
}

function isConnected(self) {

0 comments on commit 21ef3d6

Please sign in to comment.
You can’t perform that action at this time.