📜  javascript在嵌套对象节点js中查找差异 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:47.228000             🧑  作者: Mango

代码示例1
const diff = require('recursive-diff');
const oldVal = {a:1};
const newVal = {a:2};
const delta = diff.getDiff(oldVal, newVal);
console.log(delta)