"Working with the new CSS Typed Object Model": https://t.co/2h2bH6Cpa8
Calling this .className => .classList, but for the style="" attribute. Proper object model for CSS vals, math methods, unit conversion, parsing. No more manipulating strings to get/set inline styles.
🔥 New ECMAScript proposal to add Object.fromEntries, complementing Object.entries: https://t.co/RdUAfB8NNg
Object.fromEntries(Object.entries(object)) ≈ object
It’s similar to _.fromPairs in Lodash.