ran npm run tdd
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
module.exports = extendHex = shortHex =>
|
||||
const extendHex = shortHex =>
|
||||
'#' +
|
||||
shortHex
|
||||
.slice(shortHex.startsWith('#') ? 1 : 0)
|
||||
.split('')
|
||||
.map(x => x + x)
|
||||
.join('');
|
||||
.join('');
|
||||
module.exports = extendHex
|
||||
Reference in New Issue
Block a user