Skip to content

Instantly share code, notes, and snippets.

View fud's full-sized avatar

Brenton Bills fud

  • Paypa Plane
  • Brisbane, Australia.
  • 01:46 (UTC +10:00)
View GitHub Profile
@fud
fud / 0_reuse_code.js
Last active September 4, 2015 03:45
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Keybase proof

I hereby claim:

  • I am fud on github.
  • I am fud (https://keybase.io/fud) on keybase.
  • I have a public key whose fingerprint is DFCB 835A 40C8 1445 910F D496 09E5 703E 7172 3FAE

To claim this, I am signing this object:

function clone(obj) {
var target = {};
for (var i in obj) {
if (obj.hasOwnProperty(i)) {
target[i] = obj[i];
}
}
return target;
}