diff --git a/snippets/isPowerOfTwo.md b/snippets/isPowerOfTwo.md index c390de9db..fae6b67b1 100644 --- a/snippets/isPowerOfTwo.md +++ b/snippets/isPowerOfTwo.md @@ -5,7 +5,7 @@ tags: math,beginner Returns `true` if the given number is a power of `2`, `false` otherwise. -Use the bitwise binary AND operator (`&`) to determine if `n is a power of `2. +Use the bitwise binary AND operator (`&`) to determine if `n` is a power of `2. Additionally, check that `n` is not falsy. ```js