What does the following mean?
var iCurrentIndex = oCurrentQuestionModel.getProperty("/index"); ...(1)
iCurrentIndex = iCurrentIndex ? ++iCurrentIndex : 0; ...(2)
The var iCurrentIndex = false in setp 1 and in step 2 it gets assigned value 0. What does this representation mean can anyone explain me?