Which of the following method Divides an array into pieces of a certain size?

1. Which of the following method Divides an array into pieces of a certain size?

  1. _.chunk(array, size)
  2. _.peice(array, size)
  3. _.data(array, size)
  4. _.divide(array, size)

Answer: A) _.chunk(array, size)

Explanation:

_.chunk(array, size) method Divides an array into pieces of a certain size.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.