打赏

lodash 判断相等 eq isEqual

var object = { 'a': 1 };
var other = { 'a': 1 };
//true
console.log(_.eq(object, object))
//true
console.log(_.isEqual(object, object))

 

posted @ 2018-07-17 15:26  孟繁贵  阅读(11646)  评论(0编辑  收藏  举报
TOP