MDN wants to learn about developers like you:


Member since

Recent Docs Activity

View all activity
Page Date Comment

Bitwise operators

Using 0x for defining flags is wrong as it is hexadecimal. So if the reader then used 0x16 then that would be 22 decimal leading to 10110 and not the intended mask of 10000.