SyntaxFix
Write A Post
Hire A Developer
Questions
There should be no difference at all maybe the first is a little more performant but i think it's trivial ( you shouldn't worry about this, really ).
With both you wrap the <body> tag in a jQuery object
<body>