Report question

Question: why does my javascript regex.test() give alternating results