Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var array = [3, 4];
var sum = add.apply(null, array);
console.log(sum); // 7
var statusObj = {
status: 'A-OK'
}
var status = Quo.prototype.get_status.apply(statusObj);
console.log(status); // A-OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment