Created
August 4, 2018 22:59
-
-
Save krfong916/3acb9e020392924c32330001d4457a1b to your computer and use it in GitHub Desktop.
// source http://jsbin.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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