This example shows how to use the ArrayAssert object, which contains assertions designed to be used specifically with JavaScript Arrays and array-like objects.
ArrayAssert