JSFiddle - React, Tailwind, and code Playground

JavaScript

var a = 0;

a |= (1 << 31);

alert(a);

a |= (1 << 30);

alert(a);