text.diff
+4−31 unchangedLine-by-line diff, side by side. LCS algorithm.
A — original
B — modified
1
function greet(name) {
1
function greet(name, loud) {
2
console.log("hello, " + name);
2
const msg = "hello, " + name;
3
return name.length;
3
console.log(loud ? msg.toUpperCase() : msg);
4
return msg.length;
4
}
5
}