Fixed indentation

This commit is contained in:
Arjun Mahishi
2017-12-24 18:10:36 +05:30
parent 5c362c49d3
commit 556efd0d4e

View File

@ -6,9 +6,9 @@ Use `Math.random` to generate a random number and limit that number to fall in b
```js
const randomHexColorCode = () => {
var color = '#';
while(color.length < 7) color += '0123456789ABCDEF'[Math.floor(Math.random() * 16)];
return color;
var color = '#';
while(color.length < 7) color += '0123456789ABCDEF'[Math.floor(Math.random() * 16)];
return color;
}
// randomHexColorCode() -> "#e34155"