• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/ucode/tests/custom/99_bugs/30_nan_strict_equality

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

This page was automatically generated by LXR 0.3.1.  •  OpenWrt