Activity Forums Salesforce® Discussions What does reduce() method do in JS Controller in Salesforce?

  • Anjali

    Member
    August 28, 2020 at 12:11 pm

    The reduce() method applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value.

  • Sumit

    Member
    August 30, 2020 at 4:10 pm

    The reduce() method applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos