Extends a 3-digit color code to a 6-digit color code. Use Array.prototype.map(), String.prototype.split() and Array.prototype.join() to join the mapped array for converting a 3-digit RGB notated hexadecimal color-code to the 6-digit form. Array.prototype.slice() is used to remove # from string start since it’s added once. ⚛️ Examples: extendHex(’#03f’); // ’#0033ff' extendHex(‘05a’); // ’#0055aa' ➖➖➖ ➡️ Follow @the.unpaid.dev for new JS, CSS 🔥🔥🔥 ➖➖➖ (at Nagpur) https://www.instagram.com/p/B0Q2jt-HZ9p/?igshid=p3i7b09ye4aj #frontenddeveloper #webdev #webdeveloper #webdevelopment #codingisfun #programmerrepublic #code #programming #website #frontend #codinglife #worldcode #education #buildtheweb #websitedesign #webdesign #codeismylife #coding #buildupdevs #learntocode #javascript #js #javascriptdeveloper #weprogrammers














