I'm curious what's the difference between numbers that show up the color black or blue in the console log?
I'm currently outputting using this variable:
currentImageIndex = currentImage.attr('data-index'),
It does output the correct number in the console. It shows the number in the color black. For some reason, even though the correct number is outputted, my function doesn't work. But if I write the following:
currentImageIndex = 5,
the function will work. I notice the number shows up as the color blue in the console log. What's the difference?
