Cofounded Host Collective (DiscountASP.net). Cofounded Player Axis (Social Gaming). Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!
constusername='johndoe'constage=32console.log(`The name of the user is ${username} and his age is ${age}.`)console.log(`Element is: ${$('#article-reaction-actions')}.`)
The outer $ in the template string will start the evaluation. the $ inside of ${} will refer to the global $.
Hope this clears it up!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yep, it would look like this:
The outer
$
in the template string will start the evaluation. the$
inside of${}
will refer to the global$
.Hope this clears it up!