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: Perform Windows Discovery of Services, Connections, and Security Settings

# windowsDiscovery.ps1 function checkSpectreVulnerability($computer=$env:computername){ $command={ $patchedVersion="10.0.14393.2842" $actualVersion=(Get-Item C:\Windows\system32\mcupdate_genuineintel.dll | select VersionInfo).VersionInfo.ProductVersion $intelDllPatched=[version]$actualVersion -ge [version]$patchedVersion <#…

Linux: Using Bash to Search for Files Matching Certain Extensions

# using tree: list any files in a directory parentDirectory=/home tree --prune $parentDirectory # using…

PowerShell: File Server Cluster Migration Scripts

<# File-Server-Migration-Intra-Domain.ps1 Purposes: 1. Create Volumes with Labels 2. Create Virtual Clustered File Servers 3.…