blob: 4ec32e2dd5e2566388c4ba2463f65bf31d6d08d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
When comparing `nan` with `nan` for strict equality or inequality, the
VM incorrectly treated the result as `true` or `false` respectively.
-- Testcase --
{{ NaN === NaN }}
{{ NaN !== NaN }}
{{ uniq([NaN, NaN]) }}
-- End --
-- Expect stdout --
false
true
[ "NaN" ]
-- End --
|