JS Dapatkan Semua Gaya Objek

const htmlElement = document.getElementById('test')

const styles = window.getComputedStyle(htmlElement)
florinrelea