jbutko
11/5/2014 - 7:08 AM

#JS, #JavaScript: Copy object from chrome console

#JS, #JavaScript: Copy object from chrome console

var profile = {
    name: "Daniel",
    age: 25
};

copy(JSON.stringify(profile));

// via http://stackoverflow.com/questions/10305365/javascript-chrome-how-to-copy-an-object-from-the-webkit-inspector-as-code