When is an Array not an Array?
Short answer: When it’s a JavaScript arguments object. Long answer: In a JavaScript package I’m writing, I have a function that returns an object. There’s a bug in it where in certain situations it returns the JavaScript value true. I have a test framework set up with Mocha using the Chai assertion library. With it,…