RGB To Hex Conversion (5 kyu): Codewars (TDD in JavaScript)

preview_player
Показать описание
Hi! Welcome to Codewars. In this series I'm going to solve TDD katas using #JavaScript.
If this is your first time here and you want to learn #Frontend and JavaScript, start right now by subscribing, and don't forget to turn on the subtitles.

Used:
Рекомендации по теме
Комментарии
Автор

Good solution, the part i dont understand is why to put '00' at the start in the last else? thanks in advance :D

SuperBlackBeto
welcome to shbcf.ru