Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What does Object.fromEntries() do and how is it used together with Object.entries()?
Auto Skip
Report Issue
A.
Object.fromEntries() converts object to array; serves same function as Object.entries()
B.
Converts [key,value] array to object; reverses Object.entries(); used to convert Map to object
C.
Object.fromEntries() only converts Map type to object; does not accept array
D.
Object.fromEntries() added with ES2022; cannot be used in older versions
Previous
Next