Javascript Charecters

Javascript Charecters

In Javascript, what does a colon denote? for example:

current = (current != slides.length - 1) ? current + 1 : 0;