Is x= 4 undefined

No, the value of x being equal to 4 is defined.