README: Rationale first, then code.
example: a conforming container class and library

The triplet.js class implmentes a subset of the Array
interface and uses the isArray spec to signal that is
should be treated an array.

The examplelib in examplelib-conforms has two methods
which use two different array checking techniques on their
arguement. Both also conform to the isArray spec.

The conforms.html has a small snippet to test this funcitonality.
First calling the examplelib on native JavaScript arrays, and
then calling them on triplet objects.
example: a non-conforming library working with a polyfill

The examplelib in examplelib-compatible has two methods
which use two different array checking techniques on their
arguement. Both use JavaScript best practices, but neither
conforms to the isArray spec, and so as written they will
only work on native JavaScript array objects.

The isArray-polyfill patches the Object.prototype.toString
and Array.isArray functions so that they themselves return
results that conform to the isArray spec.

The polyfill.html has a small snippet to test this funcitonality.
First calling the examplelib on native JavaScript arrays, and
then calling them on triplet objects, which conform to the
isArray spec and advertise their ability to implmenet
JavaScript array functions.