Skip to content

Instantly share code, notes, and snippets.

@krfong916
Created August 4, 2018 22:59
Show Gist options
  • Save krfong916/3acb9e020392924c32330001d4457a1b to your computer and use it in GitHub Desktop.
Save krfong916/3acb9e020392924c32330001d4457a1b to your computer and use it in GitHub Desktop.
// source http://jsbin.com
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
let userProfile = (bio) = (picture) = (information) => {
let profile = {bio, picture, information}
return profile;
}
let bio = {
blurb: 'just a kid from ohio'
}
let picture = {
picture: 'my pic'
}
let information = {
name: 'kyle'
}
console.log(userProfile(bio, picture, information));
console.log('here');
</script>
<script id="jsbin-source-javascript" type="text/javascript">let userProfile = (bio) = (picture) = (information) => {
let profile = {bio, picture, information}
return profile;
}
let bio = {
blurb: 'just a kid from ohio'
}
let picture = {
picture: 'my pic'
}
let information = {
name: 'kyle'
}
console.log(userProfile(bio, picture, information));
console.log('here');</script></body>
</html>
let userProfile = (bio) = (picture) = (information) => {
let profile = {bio, picture, information}
return profile;
}
let bio = {
blurb: 'just a kid from ohio'
}
let picture = {
picture: 'my pic'
}
let information = {
name: 'kyle'
}
console.log(userProfile(bio, picture, information));
console.log('here');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment