Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 217 Bytes

4.14.md

File metadata and controls

3 lines (2 loc) · 217 Bytes

if (42 = i) // ... is an error.

if (i = 42) // ... will first assign 42 to i and yield the value of i as the condition expression of if statement. And because 42 is nonzero, the condition will be true.