Given three values, return an array that contains those values in order.
For example:
const array = buildArray('My', 'First', 'Array');
console.log(array); // ["My", "First", "Array"]
Given three values, return an array that contains those values in order.
For example:
const array = buildArray('My', 'First', 'Array');
console.log(array); // ["My", "First", "Array"]
Introduction
JavaScript Basics
Numbers
Strings
Logic
Variables
Loops
Objects
Arrays
Going Further