Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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">
- // Write your code below
- var poem = {
- author: "Robert Frost",
- datePublished: 1916,
- name: "The Road Not Taken",
- famousLine: "Two Roads diverged in a yellow wood",
- quotePoem: function (){
- console.log(this.famousLine);
- }
- };
- poem.quotePoem;
- </script>
- <script id="jsbin-source-javascript" type="text/javascript">// Write your code below
- var poem = {
- author: "Robert Frost",
- datePublished: 1916,
- name: "The Road Not Taken",
- famousLine: "Two Roads diverged in a yellow wood",
- quotePoem: function (){
- console.log(this.famousLine);
- }
- };
- poem.quotePoem;</script></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement