Skip to content

Instantly share code, notes, and snippets.

@joshjensen
Created April 24, 2014 16:32
Show Gist options
  • Save joshjensen/11260838 to your computer and use it in GitHub Desktop.
Save joshjensen/11260838 to your computer and use it in GitHub Desktop.
Business Card
#!/bin/env node
var util = require("util");
var jediMindTrick = function(details) {
util.print("This is the developer you are looking for: \n");
for (var key in details) {
if (details.hasOwnProperty(key)) {
util.print(key + ": " + details[key] + "\n");
}
}
};
var detailsForJosh = {
name: "Josh Jensen",
mobile: "+1 (206) 651-5204",
email: "me@joshjensen.com",
url: "http://joshjensen.com",
twitter: "@joshj"
};
jediMindTrick(detailsForJosh);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment