Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix #2596, address review nit in randomString.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhirsch committed Apr 7, 2017
1 parent ded7390 commit f7239ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/webextension/randomString.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function randomString(length, chars) {
chars = chars || randomStringChars;
let result = "";
for (let i=0; i<length; i++) {
result += chars.charAt(Math.floor(Math.random() * chars.length));
result += chars[Math.floor(Math.random() * chars.length)]
}
return result;
}
Expand Down

0 comments on commit f7239ca

Please # to comment.