I want to change a ternary operator to if and else statements : How to change this shorthand ternary operator to if-else statements

    header.style.width = header.style.width === "1265px" ? '0px' : '1265px';