mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
Conversions algorithms : remove live code & console.log.
This commit is contained in:
@ -11,4 +11,8 @@ function hexStringToRGB (hexString) {
|
||||
return obj
|
||||
}
|
||||
|
||||
console.log(hexStringToRGB('ffffff'))
|
||||
export { hexStringToRGB }
|
||||
|
||||
|
||||
// > hexStringToRGB('ffffff')
|
||||
// { r: 255, g: 255, b: 255 }
|
||||
|
Reference in New Issue
Block a user