Diff Viewer
Compare (Ctrl+Enter)
Edit
Side by Side
Unified
Context:
3 lines
5 lines
10 lines
Full
Swap
Sample
Prev Change
Next Change
Original (Left)
function greet(name) { console.log("Hello, " + name); return true; } function add(a, b) { return a + b; } function multiply(a, b) { return a * b; } const PI = 3.14; const greeting = "hello";
Modified (Right)
function greet(name, formal) { const prefix = formal ? "Good day" : "Hello"; console.log(prefix + ", " + name + "!"); return true; } function add(a, b) { return a + b; } function subtract(a, b) { return a - b; } const PI = 3.14159; const greeting = "hello"; const farewell = "goodbye";
Added:
0
Removed:
0
Modified:
0
Unchanged:
0
Chunks:
0