Code review suggestions.

This commit is contained in:
aforge
2021-09-01 17:07:18 +03:00
parent c408cc12c8
commit 21d3115346
5 changed files with 104 additions and 73 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export function bytesToHumanSize(bytes) {
// Get 32 bit integer hash value for a string. Ideally it should produce the same value
// as Java's String#hash().
export function stringToColorHash(value) {
function stringToColorHash(value) {
let hash = 0;
value = '' + value;
for (let i = 0; i < value.length; i++) {