The attr() function in CSS now supports types

Conditionally spreading objects in JavaScript