May as well just do ```comicId = (Math.floor(Math.random() * data.num) + 1);```