string

You are here: Home » string

Introduction to JavaScript – Variables: String Interpolation II

By |2019-02-10T03:43:27-04:00April 24th, 2018|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 images [...]

Introduction to JavaScript – Variables: String Interpolation

By |2019-02-08T19:17:12-04:00April 24th, 2018|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 as [...]