Skip to main content
added 24 characters in body
Source Link
tonyjcamp
  • 387
  • 3
  • 3

I just came across this shortcut today. I'm having trouble finding proper documentation on it (google isn't liking the ~~).

~~(true)

~~(false)

People much smarter than I can explain:

http://james.padolsey.com/javascript/double-bitwise-not/

I just came across this shortcut today. I'm having trouble finding proper documentation on it (google isn't liking the ~~).

~~(true)

~~(false)

I just came across this shortcut today.

~~(true)

~~(false)

People much smarter than I can explain:

http://james.padolsey.com/javascript/double-bitwise-not/

Source Link
tonyjcamp
  • 387
  • 3
  • 3

I just came across this shortcut today. I'm having trouble finding proper documentation on it (google isn't liking the ~~).

~~(true)

~~(false)