Created
July 7, 2014 15:06
-
-
Save jasonrhodes/a45a45a981d2a4966f20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function introduce() { | |
console.log("Hello, my name is", this.name); | |
} | |
var lauren = { | |
name: "Lauren" | |
}; | |
var dave = { | |
name: "Dave" | |
}; | |
introduce.call(dave); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment