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