Set value to the number of personnel that are available. The list personnel consists of personnel records that have a boolean isAvailable property inside them. Form of linked list containing two personnel (note that below cells are created in reverse order, i.e. cell1 is the first cell of the list):

var cell2 = { data: {name: "Thad Green", isAvailable: false}, next: null };
var cell1 = { data: {name: "Bill Williams", isAvailable: true}, next: cell2 };

javascript programming
exercise: lists 01