girar um div usando javascript

div.style.tranform = 'rotate(' + angleInDegrees + 'deg);';
Successful Sandpiper