Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shallowEqual.js 310B

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = shallowEqual;
  6. function shallowEqual(actual, expected) {
  7. const keys = Object.keys(expected);
  8. for (const key of keys) {
  9. if (actual[key] !== expected[key]) {
  10. return false;
  11. }
  12. }
  13. return true;
  14. }