jspm_packages/npm/babel-core@5.8.38/lib/types/index.js
function shallowEqual(actual, expected) {
  var keys = Object.keys(expected);

  var _arr2 = keys;
  for (var _i2 = 0; _i2 < _arr2.length; _i2++) {
    var key = _arr2[_i2];
    if (actual[key] !== expected[key]) {
      return false;
    }
  }

  return true;
}
function shallowEqual(actual, expected) {
  var keys = Object.keys(expected);

  var _arr2 = keys;
  for (var _i2 = 0; _i2 < _arr2.length; _i2++) {
    var key = _arr2[_i2];
    if (actual[key] !== expected[key]) {
      return false;
    }
  }

  return true;
}
function shallowEqual ( actual , expected ) { var keys = Object . keys ( expected ) ; var _arr2 = keys ; for ( var _i2 = 0 ; _i2 < _arr2 . length ; _i2 ++ ) { var key = _arr2 [ _i2 ] ; if ( actual [ key ] !== expected [ key ] ) { return false ; } } return true ; }
Test if an object is shallowly equal.
Test if an object is shallowly equal .