×

Multiple-Choice Questions

Which of the following method Gets rid of all false values in an array?

2. Which of the following method Gets rid of all false values in an array?

  1. _.del(array):
  2. _.remove(array):
  3. _.false(array):
  4. _.compact(array)

Answer: D) _.compact(array)

Explanation:

_.compact(array) method Gets rid of all false values in an array.

Comments and Discussions!

Load comments ↻






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