const displayVal = document.defaultView.getComputedStyle(element[, pseudoElt]).display; getComputedStyle
getComputedStyle