We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a272f0c commit 76c1bdeCopy full SHA for 76c1bde
src/content/learn/reacting-to-input-with-state.md
@@ -84,7 +84,7 @@ function submitForm(answer) {
84
// Pretend it's hitting the network.
85
return new Promise((resolve, reject) => {
86
setTimeout(() => {
87
- if (answer.toLowerCase() == 'istanbul') {
+ if (answer.toLowerCase() === 'istanbul') {
88
resolve();
89
} else {
90
reject(new Error('Good guess but a wrong answer. Try again!'));
0 commit comments