simple ternary

PHOTO EMBED

Wed Apr 03 2024 23:46:07 GMT+0000 (Coordinated Universal Time)

Saved by @davidmchale #javascript #ternary

// if something is true then execute the code on the left, otherwise return null
e.propertyName === 'transform' ? key.classList.remove('playing') : null;
content_copyCOPY