how to find the current window body element in javascript code example
Example: reference body js
var body = document.getElementsByTagName("BODY")[0]; //bad way
document.body //good way
var body = document.getElementsByTagName("BODY")[0]; //bad way
document.body //good way