2018 gave us the spread operator and 2019 Object.fromEntries which reverses Object.entries allowing you to hand in key/value pairs to make an object.
No comments:
Post a Comment