Template Literals | Table O Contents

Place the introducing line of text ie.) the ‘tagline’ here …

Note. The Flammarion Logo Badge in the page header above is an .svg image file set to the dimensions of 5% width, auto height, and zoom. Go ahead and test the zoom-out feature by hovering over the badge to engage the expansion of the image.

The Code

Hint. Place the intro paragraph ie.) the ‘hypothesis’ here …

// Use template literals when concatenating both strings and mutable values
let weight = prompt("Please enter your weight");
let message = `
                You weigh ${weight * 0.165} pounds ...
                On the moon!
                How R you do'in?`;
// Returns a message to the screen

// Returns a message to the console
console.log('Rule. All variables are declared at the top of the stack when assigned via `var`. However, a variable when declared (and, assigned) using `let` or `const` is NOT auto-hoisted to the top of the stack. Hoisted variables can cause conflicts. Summation: All variables when declared using `var` are auto-hoisted to the top of the stack. And, all variables when declared (and, assigned) using `const` or `let` are NOT auto-hoisted. Note. A variable declared with `const` must also be initialized with a value simultaneously.')

Last Subtitle

More to come …

Note. The above synopsis was derived from an article written by Blank Author [1].

  1. A Narrative of Psychology by Blank Author, Jan #1999


Please support the co-workers who aggregate the Source Links for our projects.


Like what you see in this project? If so, then support the authors and machine-elves who aggregate the source links and pages for our projects via Patreon.