Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #175 from gregstoll/master
Browse files Browse the repository at this point in the history
Fix spacing in a few examples
  • Loading branch information
littledan committed Nov 9, 2018
2 parents 50f0a67 + fd668f4 commit 384bb01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ function nthPrime(nth) {
nth -= 1n;
prime = maybePrime;
}

maybePrime += 1n;
maybePrime += 1n;
}

return prime;
Expand Down Expand Up @@ -189,7 +188,7 @@ A `BigInt` behaves like a `Number` in cases where it is converted to a `Boolean`
if (0n) {
console.log('Hello from the if!');
} else {
console.log('Hello from the else!');
console.log('Hello from the else!');
}

// ↪ "Hello from the else!"
Expand Down

0 comments on commit 384bb01

Please sign in to comment.