en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

fix: bitwise/logical NOT differentiation

Open had0j opened this issue 2 months ago • 1 comments

In 1.6.4 "The old 'var' ", an example in the IIFE section states:

!function() { alert("Bitwise NOT operator starts the expression"); }();

although ! represents the logical NOT operator rather than the bitwise NOT operator.

had0j avatar Oct 05 '25 15:10 had0j

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 05 '25 15:10 CLAassistant