Notifications
Clear all

What is the output of this function when called with an empty array?

1 Posts
1 Users
0 Likes
166 Views
(@ozolinsezequiel)
Posts: 701
Noble Member
Topic starter
 

Refer to the code below:

What is the output of this function when called with an empty array?

  • A . Return 0
    B. Return 5
    C. Return NaN
    D. Return Infinity

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 27/10/2022 12:05 am

Latest Salesforce JavaScript Developer I Dumps Valid Version

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