diff --git a/es6/extreme-template-string.js b/es6/extreme-template-string.js index 37f170a..7594d67 100755 --- a/es6/extreme-template-string.js +++ b/es6/extreme-template-string.js @@ -1,21 +1,30 @@ 'use strict'; -const student = { name: 'James', followerCount: 34 }; +// const student = { name: 'James', followerCount: 34 }; -let tableHtml = ` - - - - - - - - - - - - - -
NameFollowers
${student.name}${student.followerCount}
`; +// let tableHtml = ` +// +// +// +// +// +// +// +// +// +// +// +// +// +//
NameFollowers
${student.name}${student.followerCount}
`; -console.log(tableHtml); \ No newline at end of file +// console.log(tableHtml); + +const full_name = { + first_name: 'Anthony', + last_name: 'Lee' +}; + +let greeting = `

Hi, my name is ${full_name.first_name}. Nice to meet you! My last name is ${full_name.last_name}.

`; + +console.log(greeting);