Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1f50e76

Browse files
Fix typo in 5.1
1 parent 05bfcba commit 1f50e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387

388388
// For zero-case:
389389
function isPowerOfTwoZeroCase(number) {
390-
return (x != 0) && ((x & (x - 1)) === 0);
390+
return (number != 0) && ((number & (number - 1)) === 0);
391391
};
392392

393393

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /