how to make a property important in javascript

JavaScript
element.style.setProperty("display", "inline", "important")
Source

Also in JavaScript: