+ 3
Error in answer
answer must be false, but it returns true in challenge. Author Nemanja Stepanovich. var a = [10, 7, 14, 'foo']; var b = "10, 7, 14, foo"; console.log(a == b); // false
4 odpowiedzi
+ 2
Hey, in such cases I try to check in Code Playground first.
So I did, and here's the code, which actually prints "false" as its output: https://code.sololearn.com/WTMMZ8M777eL/#html
And it's totally okay, because those are two different arrays (doesn't matter that they contain the same values).
See here: https://stackoverflow.com/questions/7837456/how-to-compare-arrays-in-javascript
Summary: it's not an error, it works fine!
+ 7
Vahe As the quiz challenges are picked at pseudo-random, we won't be able to find it. I leave your post as a warning for now.
Kindly please enter the quiz and check for answers. When there, swipe to the wrong question and report it using the STOP sign button with an exclamation mark inside it, indicating the reason.
Thanks in advance!
+ 4
You are to report any wrong quiz. Just tap on the button at the top-right on the 'correct answers' page.
0
բարեւ