Question 21/22
intermediate
Select one answer

What is the difference between Array.from() and Array.of()?

They do the same thing
Array.from() creates array from iterables/array-like, Array.of() creates array from arguments
Array.of() is deprecated
Array.from() only works with numbers

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.