Skip to content

Instantly share code, notes, and snippets.

@joeheyming
Created February 20, 2014 19:54
javascript kwargs with dictionary
function printArgs(args) {
console.log(args)
}
> printArgs({'a': 1, 'b': 2})
Object {a: 1, b: 2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment