總覽
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. Motivation: Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes. 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
5 分 (滿分 5 分)2 個評分
詳細資料
- 版本3.2.0
- 已更新2026年2月26日
- 提供者Alexander Block
- 大小81.6KiB
- 語言English
- 開發人員
電子郵件
calexblock@gmail.com - 非交易商這位開發人員並未表明自己是交易商。歐盟地區的消費者請注意,消費者權利不適用於你和這位開發人員之間簽訂的合約。
隱私權
這位開發者就你的資料做出下列聲明:
- 除經核准的用途外,不會將你的資料販售給第三方
- 不會基於與商品核心功能無關的目的,使用或轉移資料
- 不會為了確認信用度或基於貸款目的,使用或轉移資料
支援
如有疑問或建議,請前往開發人員的支援網站