JavaScript test #5 is more in line with how it might be used.