Mistake
See original GitHub issueIt should be <10 and >5.
Challenge Comparisons with the Logical Or Operator has an issue.
User Agent is: Mozilla/5.0 (iPad; CPU OS 10_0_2 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A456 Safari/602.1
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function testLogicalOr(val) {
// Only change code below this line
if (val) {
return "Outside";
}
if (val) {
return "Outside";
}
// Only change code above this line
return "Inside";
}
// Change this value to test
testLogicalOr(15);
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Mistake Definition & Meaning - Merriam-Webster
Kids Definition ; 1 · to understand wrongly : misinterpret. mistook my meaning ; 2 · to estimate incorrectly. mistook the strength of...
Read more >Mistake Definition & Meaning - Dictionary.com
1. Mistake, blunder, error, slip refer to deviations from right, accuracy, correctness, or truth. A mistake, grave or trivial, is caused by bad...
Read more >MISTAKE | definition in the Cambridge English Dictionary
an action or decision that is wrong or produces a result that is not correct or not intended: We all make mistakes. [...
Read more >Mistake - Definition, Meaning & Synonyms - Vocabulary.com
A mistake is an error, a goof, a slip-up. When you make a mistake, you've done something incorrectly. Mistake has a lot of...
Read more >mistake - Wiktionary
VerbEdit · (transitive) To understand wrongly, taking one thing or person for another. quotations ▽ · (transitive, obsolete) To misunderstand (someone).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am not sure if this is talking about the problem itself or the example text. The example text is:
will return "Yes" only if num is between 5 and 10 (5 and 10 included). The same logic can be written as:
Which is certainly correct.
The problem Instructions don’t even deal with 5 and 10 but rather 10 and 20 so maybe there is a confusion between the example and the instructions for the problem.
Closing as stale.