Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var poem = {
- author: "Robert Frost",
- datePublished: 1916,
- name: "The Road Not Taken",
- famousLine: "Two roads diverged in a yellow wood",
- printFamousLine: function () {
- console.log(this.famousLine);
- }
- };
- poem.printFamousLine();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement