Skip to content

Instantly share code, notes, and snippets.

@miller3818
Created July 3, 2014 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miller3818/0b02716f2f3862ef4b75 to your computer and use it in GitHub Desktop.
Save miller3818/0b02716f2f3862ef4b75 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>
</html>
// var plus = function(a, b) {
// return console.log(a+b);
// }(2,5);
function plus(a,b) {
return (
console.log(a+b),
console.log(this),
console.log(arguments)
);
}
plus(2,2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment