Travis build: 1488

This commit is contained in:
30secondsofcode
2018-01-30 02:59:50 +00:00
parent c226e69094
commit 6d7dc2933c
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ Use `Math.random` to generate a random 24-bit(6x4bits) hexadecimal number. Use b
```js
const randomHexColorCode = () => {
let n = (((Math.random() * 0xfffff)) * 1000000).toString(16);
let n = (Math.random() * 0xfffff * 1000000).toString(16);
return '#' + n.slice(0, 6);
};
```