For further details I would recommend reading the article Object Oriented Programming in JavaScript by Mike Koss.In common with the Silverlight view-model there are properties which we do not expect to change, such as text and index, and those which do change, e.g. selectedAnswer.