// Test a function returning an array function a() { return [41,42,43]; } var v = a()[1]; result = v==42;