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

Last Logon Dates of List of AD Accounts

import-module activedirectory$output=""Get-Content C:\Users\kimconnect\Desktop\targetAccounts.txt | Foreach-Object -Process{ #  cast an array object as string before using…

Docker DRUPAL Container

# Preseed drupal files with persitent storagemkdir /var/www/html/kimconnect/{modules,profiles,sites,themes}docker run --rm drupal tar -cC /var/www/html/sites .…

PowerShell: Error While Invoking Functions Containing 2 Parameters

Issue: This function will raise an error when being invoked: function localFunc ($x, $y){ begin{}…