Skip to content

Instantly share code, notes, and snippets.

@joeheyming
Created February 20, 2014 19:54
Show Gist options
  • Select an option

  • Save joeheyming/9121888 to your computer and use it in GitHub Desktop.

Select an option

Save joeheyming/9121888 to your computer and use it in GitHub Desktop.
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