I have the following code in my html:
hello world
In 2019, the simplest way to remove a property seems to be:
elem.style.border = "";
Similarly, to set a border:
elem.style.outline = "1px solid blue";
Should work across all browsers too!