Introduction to JavaScript – Variables: String Interpolation II

Categories: Computer Programming Languages, Course 1 - Intro To JavaScript, JavaScript|Tags: , , , |

Introduction to JavaScript - Variables: String Interpolation II In the newest version of JavaScript (ES6) we can insert variables into strings with ease, by doing two things: 1) Instead of using quotes around the string, use backticks (this key is usually located on the top of your keyboard, left of the 1 key (see

Introduction to JavaScript – Variables: String Interpolation

Categories: Computer Programming Languages, Course 1 - Intro To JavaScript, JavaScript|Tags: , , , |

Introduction to JavaScript – Variables: String Interpolation In previous exercises, we assigned strings to variables. Here, you will learn how to insert the content saved to a variable into a string. The JavaScript term for inserting the data saved to a variable into a string is string interpolation. The + operator, known until now

Go to Top