We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fab6a8 commit f1f9f77Copy full SHA for f1f9f77
lib/internal/util/inspect.js
@@ -310,8 +310,7 @@ function inspect(value, opts) {
310
ctx.showHidden = opts;
311
} else if (opts) {
312
const optKeys = ObjectKeys(opts);
313
- for (let i = 0; i < optKeys.length; ++i) {
314
- const key = optKeys[i];
+ for (const key of optKeys) {
315
// TODO(BridgeAR): Find a solution what to do about stylize. Either make
316
// this function public or add a new API with a similar or better
317
// functionality.
0 commit comments