Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Nov 18, 2016
Embed
What would you like to do?
5.md
var Hello = {
name: "hifive",
message: function() {
setTimeout(function() {
alert("Hello, " + this.name);
}.call(this), 1000);
}
}
console.log(Hello.message());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment