Javascript Will Assign And Test A Variable In The Same Statement