Use Object.is
instead of ===
to implement phys_equal
#1372
Labels
Object.is
instead of ===
to implement phys_equal
#1372
There are a few places where the behavior of
phys_equal
differ between native OCaml and Jsoo:The (relatively) new
Object.is
function implements those comparisons "correctly":https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
The text was updated successfully, but these errors were encountered: