Back to Tools
Text & Code Diff Viewer
Paste your old and new text or code to instantly generate a unified diff highlighting additions and deletions securely in your browser.
| const a = 1; | |
| - | console.log(a); |
| - | // This is an old line |
| - | return a; |
| + | console.log(a + 1); |
| + | // This is a new line |
| + | return a + 1; |