What\'s the difference between empty() and remove()methods in jQuery, and when we call any of these methods, the objects being created
empty()
remove()
jQuery
$("body").empty() -- it' removes the HTML DOM elements inside the body tag -
$("body").empty()
when you declare $("body").remove() - it remove the entire HTML DOM along with body TAG .
$("body").remove()