$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #177

What goes in the blank?

// [[k, v], ...] -> object
const obj = Object.____(pairs);

Answer: fromEntries (also accepted: fromEntries, fromEntries())

Object.fromEntries() is the inverse of entries().
Play Problem Solving ▸