Skip to content

Instantly share code, notes, and snippets.

@hglattergotz
Created November 11, 2011 01:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hglattergotz/1356802 to your computer and use it in GitHub Desktop.
Homework 1.1
var car = {
make: 'Maserati',
color: 'silver'
}
function logCar() {
console.log("I'm a " + arguments[0].color + " " + arguments[0].make);
}
logCar(car);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment