We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 907617b commit d6b1a71Copy full SHA for d6b1a71
README.md
@@ -921,7 +921,7 @@ class BankAccount {
921
const bankAccount = new BankAccount();
922
923
// Buy shoes...
924
-bankAccount.balance = bankAccount.balance - 100;
+bankAccount.balance -= 100;
925
```
926
927
**Good**:
@@ -1997,7 +1997,7 @@ function hashIt(data) {
1997
// Make the hash
1998
hash = ((hash << 5) - hash) + char;
1999
// Convert to 32-bit integer
2000
- hash = hash & hash;
+ hash &= hash;
2001
}
2002
2003
@@ -2014,7 +2014,7 @@ function hashIt(data) {
2014
2015
2016
2017
2018
2019
2020
0 commit comments