首页 扩展程序 console.diff(...)

console.diff(...)

提供方: Alexander Block
2
开发者工具 232 位用户

插件简介

Compare objects in memory with console.diff(old, new) devtools function
An extension for developers that enhances the console API by incorporating the ability to compare objects and adds a JSDiff tab (parallel to Elements, Network panels) within your dev-tools for viewing the results.

Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart browser.

API:
// compare left and right
console.diff(left, right);

// shorthand for console.diffPush(next)
console.diff(next);

// update object on the left side only
console.diffLeft(left);

// update object on the right side only
console.diffRight(right);

// shifts sides, right becomes left, next becomes right
console.diffPush(next);

Read more at: https://github.com/zendive/jsdiff

其他信息

ID iefeamoljhdcpigpnpggeiiabpnpgonb 版本 3.0.5 上次更新日期 2024年2月6日 大小 93.89KiB 语言 支持1 种语言 开发者

calexblock@gmail.com

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

console.diff(...) Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效