im trying to do a few things, but basically i would like to combine document body and replace in one line
the original line is..
and im trying to get rid of the double white space so i would like to do something like thisCode:var body = document.body, range, sel;
but of course it fails..Code:var body = document.body.replace(/\s+/g," "), range, sel;
is it just a syntax issue?