change rgbColor output to string literal

This commit is contained in:
lolabird 2023-11-10 01:31:07 -07:00
commit 007cabe984

View file

@ -82,9 +82,8 @@ function rgbColor() {
let g = Math.floor(Math.random() * 255);
let b = Math.floor(Math.random() * 255);
let rgbCol = "rgb(" + r + "," + g+ "," + b +")";
return `rgb(${r},${g},${b})`;
return rgbCol;
}
createGrid();