Skip to content

Casey OKeefe#21

Open
ocase1990 wants to merge 1 commit intoAustinCodingAcademy:masterfrom
ocase1990:master
Open

Casey OKeefe#21
ocase1990 wants to merge 1 commit intoAustinCodingAcademy:masterfrom
ocase1990:master

Conversation

@ocase1990
Copy link

No description provided.

let finalArr = [];
for (let i = 0; i < theArray.length; i++) {
if(fnc(theArray[i])) {
finalArr.push(theArray[i]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check this. the instructions do not tell you to add anything to an array
fnc will return true or false, if true return the item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants