cara membalik halaman terbalik di javascript

document.getElementsByTagName('body')[0].style.transform = 'rotate(180deg)';
Misty Mosquito