-
I did some rabbit holing around bitwise nots in JavaScript: remysharp.com/2017/09/08/dive-into-bitwise-not-and-numbers
-
Fixed a mistake in this post, updated here specifically: remysharp.com/2017/09/08/dive-into-bitwise-not-and-numbers#typed-arrays-for-unsigned-bytes (thanks to mathias & lady_ada_king).