Skip to content

Instantly share code, notes, and snippets.

@tobz-nz
Created October 28, 2012 20:41
Show Gist options
  • Select an option

  • Save tobz-nz/3969836 to your computer and use it in GitHub Desktop.

Select an option

Save tobz-nz/3969836 to your computer and use it in GitHub Desktop.
chrome live console.log fix
console.echo = function(input) {
var output = JSON.parse(JSON.stringify(input));
console.log(output);
}
var asd = {'changed': false};
console.echo(asd);
asd.changed = true;
console.echo(asd);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment