Fri, 17 May 2024


Are binary operators supported in JavaScript?

By: Peter, NetArt Media
Thu, 12 August 2021

Yes, the following binary operators are present in JavaScript:


a ^ b (XOR)
a | b (OR)
a & b (AND)
~a (NOT)
<< Binary left shift
>> Sign-propagating right shift
>>> Zero-fill right shift


Category: Javascript
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox