vitamin163/frontend-project-lvl2

View on GitHub
src/getdiff.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getDiff has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getDiff = (obj1, obj2) => {
  const keys = _.union(_.keys(obj1), _.keys(obj2)).sort();

  const buildNode = (key, status, oldValue, newValue, children) => ({
    key, status, oldValue, newValue, children,
Severity: Minor
Found in src/getdiff.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status