Javascript array value is undefined ... how do I test for that [duplicate] Javascript array value is undefined ... how do I test for that [duplicate] arrays arrays