Are the end results of the following jQuery snippets identical?
Snippet 1:
$(function() { alert(\'test!\'); });
Yes they're equivalent. See this link for reference .ready()