Skip to content

Recoded-sana-a-resouces/array_lab_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Arrays lab

Overview

Use the following array to do the requirements ["Apple","Banana","Watermelon","Avocado"]

Requirements

Go over the given array and do the following:

  1. Write a function that prints all the elements in the array in to the console.
  2. Write a function that finds the string "Apple"
  3. Write a function that takes the first letter out of all the elements in the array and returns a new array with these letters. Example (["Apple","Banana","Watermelon"] => ["A","B","W"])

Good luck :D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published