We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff9adef commit 06251a4Copy full SHA for 06251a4
lib/internal/process/main_thread_only.js
@@ -76,7 +76,7 @@ function wrapPosixCredentialSetters(credentials) {
76
if (!Array.isArray(groups)) {
77
throw new ERR_INVALID_ARG_TYPE('groups', 'Array', groups);
78
}
79
- for (var i = 0; i < groups.length; i++) {
+ for (let i = 0; i < groups.length; i++) {
80
validateId(groups[i], `groups[${i}]`);
81
82
// Result is 0 on success. A positive integer indicates that the
0 commit comments