Skip to content

Commit c284d94

Browse files
committed
Fixed a typo where the commenting was wrong
1 parent 699146f commit c284d94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Bit-Manipulation/SetBit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* bit binary representations of the number and
88
* returns a number after comparing each bit.
99
*
10-
* 0 | 0 -> 0
10+
* 0 | 0 -> 0
1111
* 0 | 1 -> 1
1212
* 1 | 0 -> 1
1313
* 1 | 1 -> 1
@@ -20,7 +20,7 @@
2020
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_OR
2121
*/
2222

23-
/**
23+
/*
2424
* @param {number} number
2525
* @param {number} bitPosition - zero based.
2626
* @return {number}

0 commit comments

Comments
 (0)