Access Method Array Javascript Length Validation Vs Verification