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.
2 parents 6964d80 + a06014a commit aada2adCopy full SHA for aada2ad
1-js/05-data-types/05-array-methods/article.md
@@ -274,7 +274,7 @@ const arr = [NaN];
274
alert( arr.indexOf(NaN) ); // -1 (повинен бути 0, але === перевірка на рівність не працює з NaN)
275
alert( arr.includes(NaN) );// true (вірно)
276
```
277
-That's because `includes` was added to JavaScript much later and uses the more up to date comparison algorithm internally.
+Це пов’язано з тим, що метод `includes` був доданий до JavaScript значно пізніше і використовує більш сучасний алгоритм порівняння.
278
````
279
280
### find і findIndex/findLastIndex
0 commit comments