Turning specific bits 'on' in Javascript

后端 未结 0 1698
借酒劲吻你
借酒劲吻你 2020-11-30 01:14

I\'m trying to solve the following problem in JavaScript:

If given the placement of 2 (or more) bits that are \'on\' in an 8 bit number, how can I generate the correc

相关标签:
回答
  • 消灭零回复
提交回复
热议问题