Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to build a string javascript es6

var name = "John" ;
var age = 32 ; 

console.log(`My name is ${name}, and I'm ${age} years old.`)
//displays : My name is John, and I'm 32 years old.
Comment

PREVIOUS NEXT
Code Example
Javascript :: maximum number of an array 
Javascript :: TypeError: error.status is not a function 
Javascript :: make triangle with threejs 
Javascript :: what is the meaning of the table innerhtml in javascript 
Javascript :: graphql json schema 
Javascript :: sum an array of objects 
Javascript :: check if string contains a value in array 
Javascript :: javaScript add() Method 
Javascript :: call node.js file electron 
Javascript :: mongoose match aggregate 
Javascript :: remove duplicate item from array javascript 
Javascript :: row append and calculation in jquery datatable 
Javascript :: angular conditional tooltip 
Javascript :: how to remove the elements from array and how to replace a new element in javascript 
Javascript :: javascript sucks 
Javascript :: got back to start of for loop js 
Javascript :: json parse vs json stringify 
Javascript :: js Changing selected option by option text 
Javascript :: js access sql database on server 
Javascript :: javascript loop array 
Javascript :: what i sminify javascript 
Python :: abc list python 
Python :: django version check 
Python :: python pip install matplotlib 
Python :: Import "reportlab" could not be resolved django 
Python :: time format conversion in python 
Python :: how to make pyautogui faster 
Python :: install docx python 
Python :: sqlalchemy query bilter by current month 
Python :: select first word in string python 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =