Posted On April 4, 2019

Basic JavaScript: Manipulate Arrays With push()

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Basic JavaScript: Manipulate Arrays With push()
// Setup
var myArray = [["John", 23], ["cat", 2]];

// Add a dog... ez

myArray.push(["dog",3]);

Leave a Reply

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

Related Post

PowerShell: Synchronize Directories with File Signature Comparisons

<# fileCompare_v0.01.ps1- Requires that the source and destination paths are hosted on Windows machines, not…

PowerShell: Command Line to Empty a Remote Directory

PowerShell Method $remoteUncPath="\\FILESHERVER01\FOLDER01"$emptyDirectory="C:\emptyDirectory"md -Force $emptyDirectoryRemove-Item "$emptyDirectory`\*" -force -recurse -ErrorAction Continuerobocopy $emptyDirectory $remoteUncPath /mir /R:0 /W:0…

Recommended Skill Set of a Programmer

It's a given that a coder needs to learn how to code... like really well.…