在节点 REPL 中运行它,给我:
> 2 ** (1 << 31) 0
我还为此编写了一个小算法,它给了我 1。
问题:
javascript algorithm bit-manipulation
algorithm ×1
bit-manipulation ×1
javascript ×1