mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
fixed alert
This commit is contained in:
@ -16,7 +16,7 @@ function decimalToHex(num){
|
||||
hex_out.push(intToHex(num%16));
|
||||
num = Math.floor(num / 16);
|
||||
}
|
||||
return intToHex(num) + return hex_out.join("");
|
||||
return intToHex(num) + hex_out.join("");
|
||||
}
|
||||
|
||||
// test cases
|
||||
|
Reference in New Issue
Block a user