Can anybody explain:
why double bitwise NOT for Infinity
returns 0?~~Infinity //return 0what happens under the hood?
what is the binary representation of Infinity in javascript?
Can anybody explain:
why double bitwise NOT for Infinity returns 0?
~~Infinity //return 0
what happens under the hood?
what is the binary representation of Infinity in javascript?