Question: Given values for acctData and balances on the next page, write a function that returns only an array of account numbers, and accepts the following

Given values for acctData and balances on the next page, write a function that returns  only an array of account numbers, and accepts the following optional parameters:  

- user  

- sortBy (accepts "acctNum" or "balance") 

 - sortDirection (accepts "asc" or "desc"; default to asc

Step by Step Solution

3.46 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!