ran npm run tdd & generated TDD
This commit is contained in:
1
test/RGBToHex/RGBToHex.js
Normal file
1
test/RGBToHex/RGBToHex.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = (r, g, b) => ((r << 16) + (g << 8) + b).toString(16).padStart(6, '0');
|
||||
Reference in New Issue
Block a user