We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f94eb2 + d6b1a71 commit 847e340Copy full SHA for 847e340
README.md
@@ -924,7 +924,7 @@ class BankAccount {
924
const bankAccount = new BankAccount();
925
926
// Buy shoes...
927
-bankAccount.balance = bankAccount.balance - 100;
+bankAccount.balance -= 100;
928
```
929
930
**Good**:
@@ -2000,7 +2000,7 @@ function hashIt(data) {
2000
// Make the hash
2001
hash = ((hash << 5) - hash) + char;
2002
// Convert to 32-bit integer
2003
- hash = hash & hash;
+ hash &= hash;
2004
}
2005
2006
@@ -2017,7 +2017,7 @@ function hashIt(data) {
2017
2018
2019
2020
2021
2022
2023
0 commit comments