Skip to content

util: use ES2015+ Object.is to check negative zero

Rodrigo Muino Tomonari requested to merge github/fork/shinnn/object-is into master

The original code is written in 2013. Today we can use more simple way Object.is, which was introduced in ECMAScript 6, to check whether the value is negative zero or not.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

util

Merge request reports

Loading