en.javascript.info/1-js/6-objects-more/2-object-conversion/3-compare-empty-arrays/task.md
2015-01-14 10:23:45 +03:00

13 lines
No EOL
345 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Почему [] == [] неверно, а [ ] == ![ ] верно?
[importance 5]
Почему первое равенство -- неверно, а второе -- верно?
```js
//+ run
alert( [] == [] ); // false
alert( [] == ![] ); // true
```
Какие преобразования происходят при вычислении?