Posted On April 4, 2019

Basic JavaScript: Constructing Strings with Variables

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Basic JavaScript: Constructing Strings with Variables
// Example
var ourName = "freeCodeCamp";
var ourStr = "Hello, our name is " + ourName + ", how are you?";

// Only change code below this line
var myName = "Kim Connect";
var myStr = "Hello"+myName;

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Start-Job, Get-Job, Receive-Job Examples

Demo 1: Obtain Public IP of a Windows Machine # Commands to run locally$command1={(Invoke-WebRequest -URI…

PowerShell: Move Files Into Zip

# moveFilesToZip.ps1 # Version 0.02 # This little function is to automate the process of…

Convert LastLogon Date From Number to Date Time

We have a case where our Admins have generated a CSV file with information about…
Other project: DragonCoin.com