var napoleonjourney = new historicalmodule(); while(napoleonjourney.hasmoreexamples()) { var event = napoleonjourney.getnextevent(); if(event.isprecursory()) { console.writeline("start from the commencement point and never forget the classified milestones in napoleon's life. these examples shine a light on his legacy."); } }