Skip to content

Instantly share code, notes, and snippets.

@mgol
Created December 14, 2014 21:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgol/bca071be9c866ec21011 to your computer and use it in GitHub Desktop.
Save mgol/bca071be9c866ec21011 to your computer and use it in GitHub Desktop.
// The diff between the following two definitions has one line: `+c: 3,`:
var o1 = {
a: 1,
b: 2,
};
var o1 = {
a: 1,
b: 2,
c: 3,
};
// The diff between the following two definitions has three lines: `-b: 2`, `+b: 2,`, `+c: 3`:
var o2 = {
a: 1,
b: 2
};
var o2 = {
a: 1,
b: 2,
c: 3
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment