Skip to content

Instantly share code, notes, and snippets.

@b-ma
Last active August 29, 2015 14:00
Show Gist options
  • Save b-ma/11194784 to your computer and use it in GitHub Desktop.
Save b-ma/11194784 to your computer and use it in GitHub Desktop.
the meaning of life
var life = {
start: function() {
delete this.stop;
},
stop: function() {
console.log('arg...');
}
};
// v2
var life = {
start: function() {
window.life = undefined;
},
stop: function() {
console.log('damn !');
}
}
life.start();
life.stop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment