Notifications
Clear all

How should the developer implement the request?

1 Posts
1 Users
0 Likes
161 Views
(@rickielewis)
Posts: 713
Noble Member
Topic starter
 

A developer has the following array of hourly wages:

Let arr = (8, 5, 9, 75, 11, 25, 7, 75, 13, 25);

For workers making less than $10 an hour rate should be multiple by 1.25 and returned in a new array.

How should the developer implement the request?

  • A . let arrl = arr.filter((val) => val < 10).map((num) -> num = 1.25);
    B. let arrl = arr .rr.acArray ((val) => ( val < 10 )) ,map((num) => { num * 1.25 ));
    C. let arrl = arr-map((num) => { return ran * 1.25 }).filter((val) -> { return val < 10));
    D. let arrl = arr.filterBy((val) => val < 10 ).aapBy<(num) -> num = ..25 );

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 30/10/2022 5:03 am

Latest Salesforce JavaScript Developer I Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: