Showing posts with label push function. Show all posts
Showing posts with label push function. Show all posts

Append something to an array?

In this tutorial learn how to append something(string/number/value) to an array, can append value in array using push() function,

// initialize array
var arr = [
  "Jack",
  "Taylor",
  "Jhone"
];

// append new value to the array
arr.push("Huge");

console.log(arr);

how to call ssh from vs code

 To call SSH from VS Code, you can use the built-in Remote Development extension. This extension allows you to open a remote folder or works...