eq.js 165 B

1234567
  1. "use strict";
  2. var numIsNaN = require("../number/is-nan");
  3. module.exports = function (val1, val2) {
  4. return val1 === val2 || (numIsNaN(val1) && numIsNaN(val2));
  5. };