js not able to read css

CSS
alert(getComputedStyle(document.getElementById("myDiv")).borderTopColor);
Source

Also in CSS: